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 <
iceb...@21cn.com> 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.
>
>