I am trying to run a background process within web2py. It works fine on my local machine; and it works fine if I run the program directly from the console. However when I try to launch using subprocess it says no such file. Is that a deliberate restriction or have I missed something?
task="%s %s"%(sys.executable, os.path.join(os.getcwd(), "test.py")) p=subprocess.Popen(task)