#2 visible

open
nobody
None
5
2005-06-22
2005-06-22
Anonymous
No

waht abaut a param for no visibility of window?
thanks

Discussion

  • Darryl Dixon

    Darryl Dixon - 2005-06-27

    Logged In: YES
    user_id=567623

    I assume that you're referring to the Windows build? The
    problem is that the window/no window option must be
    specified at build time, as I'm packaging it. I suppose
    that I could build two versions of the exe, one with
    console, one without; but that will further bloat the size
    of the download...

    I'll have a think about this one.

    Cheers,
    D

     
  • Dev Null

    Dev Null - 2005-09-16

    Logged In: YES
    user_id=1345742

    Its a brutal hack, but it gets the job done...

    I worked around this - windows build only, obviously - with a
    visual basic script invis.vbs, containing:

    CreateObject("Wscript.Shell").Run """" & WScript.Arguments
    (0) & """", 0, False

    and a batchfile launch.bat containing:

    wscript.exe "c:\program files\APS-0.98
    \invis.vbs" "runserver.bat"

    (you have to have wscript.exe in your path, or specify its
    location.) Like I say, not pretty, but you can run with
    runserver.bat and have it visible, or launch.bat and have it
    disappear...

     
  • Nobody/Anonymous

    Logged In: NO

    Since dev_nll is calling "runserver.bat", I think he may be
    using the source version. In that case, a less brutal hack
    may be to just change the filename of "main.py"
    to "main.pyw" - that will invoke the console-less Python
    interpreter instead.

    Of course, with these hacks, you actually have no way to
    terminate the process except via Task Manager. Maybe a
    solution for terminating from localhost should be added as
    a feature request instead.

    As for the compiled Windows version, maybe you could offer
    two separate downloads? That will avoid the bloat issue of
    the individual downloads, and leave the choice to the user.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks