How to take advantage of subprocess within Django? - Django

Posted by RadiantHex on Stack Overflow See other posts from Stack Overflow or by RadiantHex
Published on 2010-06-14T11:37:29Z Indexed on 2010/06/14 12:12 UTC
Read the original article Hit count: 145

Filed under:
|
|

Hi folks,

I'm currently using os.popen() but have been recommended to use subprocess.popen() instead.

Any ideas on how I can integrate this?

It would be cool and fun to have a Python shell accessible on a Django app. But I reckon that it might be a bit complex to implement.

I guess I would have to retrieve the subprocess, as a new request comes in.


Any ideas?

© Stack Overflow or respective owner

Related posts about python

Related posts about command-line