subprocess call is not waiting.
andrea crotti
andrea.crotti.0 at gmail.com
Tue Sep 18 09:54:41 EDT 2012
More information about the Python-list mailing list
Tue Sep 18 09:54:41 EDT 2012
- Previous message (by thread): subprocess call is not waiting.
- Next message (by thread): subprocess call is not waiting.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a similar problem, something which I've never quite understood about subprocess... Suppose I do this: proc = subprocess.Popen(['ls', '-lR'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) now I created a process, which has a PID, but it's not running apparently... It only seems to run when I actually do the wait. I don't want to make it waiting, so an easy solution is just to use a thread, but is there a way with subprocess?
- Previous message (by thread): subprocess call is not waiting.
- Next message (by thread): subprocess call is not waiting.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list