I have renamed web2py.py to web2py.pyw and then start web2py using a shortcut with target set to <path>\web2py.pyw -t You need to have .pyw appropriately set up as a file type in windows explorer for this to work I think. I had installed a windows distribution of Python before I had web2py, and I the installation process set this up.
The extra 'w' on the Python file extension means 'don't open a console window' Chris On Mar 22, 3:52 pm, Iceberg <iceb...@21cn.com> wrote: > Tried but that does not help. :-P > > We need something similar to the effect of hstart.exe's: > hstart /NOCONSOLE "web2py.exe -i 0.0.0.0 -a ""<recycle>"" -t" > > On Mar22, 11:06pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > try > > > web2py -a blah -p 8000 > > > Not sure. > > > On Mar 21, 10:44 pm, Iceberg <iceb...@21cn.com> wrote: > > > > Hi pals, > > > > I am using web2py 's windows distribution. Is there some way to hide > > > the console window (a.k.a. the black dos window) in which web2py is > > > running? I already know about: > > > web2py.exe -a blah -t > > > can start web2py in the systray of Microsoft Windows system, but the > > > console itself is still there and it is somewhat annoying and > > > meaningless to end users. > > > > I heard this can be done if using source code, just rename the main > > > web2py.py to web2py.pyw, on Windows platform. > > > > And this can also be done if using py2exe to build windows > > > distribution package, like > > > this:http://ubuntuforums.org/showthread.php?t=728170 > > > > But I don't know how things go in current web2py world. Can we just > > > have a web2py.exe as current situation, and one more web2pyw.exe that > > > does not have a console window? > > > > Thanks for any hint. > > > > Regards, > > > Iceberg- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---