Wow, one of these days I will learn to try a thousand things before I ask
questions. This change in code is now working just fine.
Code:
def start_web2py_server():
#noreload ensures single process
print os.path.curdir
return subprocess.Popen(['../../web2py.exe', '-a "passwd"'])
On Wednesday, April 6, 2016 at 4:49:46 PM UTC-5, Jeff Riley wrote:
>
> Trying to run some selenium tests but not able to get the server started
> from within my python script on windows. If I don't already have
> web2py.exe running, it just spins in the web browser. Any ideas?
>
> Code:
>
> def start_web2py_server():
> #noreload ensures single process
> print os.path.curdir
> return subprocess.Popen([ '../../web2py.exe', '-a "passwd"', '-p 8000'
> ])
>
--
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/d/optout.