Hi Massimo,

I spend some time on py2exe and web2py then have some proof-of-concept
conclusion here.

1. web2py is using py2exe now, so it is easy for web2py to have an
official "no-console" edition of web2py.exe.

2. Even better, we can build a traditional web2py.exe and a new web2py-
no-console.exe in one run. Just replace the last line of setup_exe.py
into this one:

  setup(console=APP,
    windows=[{'script':'web2py.py','dest_base':'web2py_no_console'}],
# Add this line
    data_files=DATA_FILES)

3. So "web2py-no-console.exe -a blah -t" can start web2py in
background on Windows platform. And it has no technical or legal
dependence of 3rd party tool such as hstart.exe.


Please do consider adopting this approach and release web2py-no-
console.exe (or similar name) together with web2py.exe in next
web2py_win.zip.  I will change my "Inno Plugin" to use web2py-no-
console.exe instead of hstart.exe.  Only then, developers can freely
generate and distribute stand alone web2py app setup.exe.  Thanks!

Sincerely,
             Iceberg, 2009-Mar-29, 14:19(PM), Sun




On Mar22, 8:57pm, Iceberg <[email protected]> wrote:
> Hi Boris,
>
> Thanks for the hint. I managed to use hstart to execute "web2py.exe -a
> blah -t", so it can basically satisfied my need.
>
> However,  because hstart is not fully "free" (please refer 
> tohttp://www.ntwind.com/software/utilities/hstart/distribution.html),
> so I still believe if web2py.exe has a native ability to hide the
> console window.
>
>
> On Mar22, 12:13pm, Boris Manojlovic <[email protected]>
> wrote:
>
> > Hi Iceberg,
>
> > please try hstart program as it is created just for "problems" like 
> > yours.http://www.ntwind.com/software/utilities/hstart.html
>
> > hope it helps :)
>
> > On Sun, Mar 22, 2009 at 4:44 AM, Iceberg <[email protected]> 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to