From: Christoph Z. <ci...@on...> - 2005-10-08 10:56:09
|
Jose Galvez wrote: > For windows rather then using a bat file to start the > appserver how about using an executable? I would not like to resort to making AppServer.bat a binary file just because of that small problem. Actually, you don't even need the AppServer.bat file in a productive environmen;, you can either start Launch.py directly or use AppServerService.py. You only need it during development for the AutoReload mechanism. Anyway, I just have improved the AppServer.bat and Launch.py scripts. You can now do AppServer.bat AppServer.AutoReload=1 or AppServer.bat "AppServer.AutoReload=1" both will work. You can also do AppServer.bat -u -O AppServer.AutoReload=1 and the -u and -O options will be passed to the Python interpreter, not to the Launch script. The script uses features of the cmd.exe shell, but falls back to ordinary dos shell if these are not available. Let me know whether this works for you as well. -- Christoph |