2009/7/3 hyou <[email protected]>:
> Do you know how can I run the command with | sign correctly with popen? Or
> if that’s not possible, can you give me a way to control the output from
> subprocess.call?

subprocess.call does not support this but subprocess.Popen does. See
Doug Hellmann's PMOTW which explains how to witk with stdin and
stdout.

http://blog.doughellmann.com/2007/07/pymotw-subprocess.html

Greets
Sander
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to