This looks great! I'm not using web2py at this time, due to other projects, but I can see this script in my future, so I'm saving it!
Thanks Niphlod! On Saturday, October 12, 2013 8:08:47 AM UTC-4, Niphlod wrote: > > no need... there's taskkill... > > @echo off > set QCURDIR=%~dp0 > set QWEB2PY_PORT=2024 > set QWEB2PY_PID_FILE="%CURDIR%httpserver.pid" > set QWEB2PY_PASSWORD="password" > set QWEB2PY_APP=welcome > set QWEB2PY_PATH="%~dp0web2py.py" > > start "web2py_server" python.exe %QWEB2PY_PATH% -a %QWEB2PY_PASSWORD% -p % > QWEB2PY_PORT% -d %QWEB2PY_PID_FILE% > > ping -n 5 127.0.0.1 > nul > > START "" /wait iexplore "http://localhost:%QWEB2PY_PORT%/%QWEB2PY_APP%" > > set /p WEB2PY_PID=<%QWEB2PY_PID_FILE% > taskkill /PID %WEB2PY_PID% > > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

