Hi everybody.
I need to invoke an external process in one of my app engine pages
like so:
import subprocess
p = subprocess.Popen(ls -la, shell=True, stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
for line in p.stdout.readlines():
self.response.out.write(line)
retval = p.wait()
This code
From here:
http://code.google.com/appengine/docs/python/runtime.html#The_Sandbox
http://code.google.com/appengine/docs/python/runtime.html#The_Sandbox
An App Engine application cannot:
- write to the filesystem. Applications must use the App Engine