os.system("ls -l > ls.log")

or better subprocess.Popen(....) which allows to start a process in
one request, leave it running, capture the stdout and retrieve it
later in a different http request.

Look how applications/admin/gae.py handles the GAE sdk

On Jan 3, 9:04 pm, 黄祥 <[email protected]> wrote:
> hi,
>
> is it possbile to make web2py application to run linux command? i want to
> make a web application like cobbler web, web bacula base on web2py.
>
> thank you very much before

Reply via email to