I import subprocess and use Popen, but PIPE is not defined. I used
2.5.1, 2.5.2, Python 2.6a3+ (trunk:63576, May 24 2008, 12:13:40), it's
always the same. What am I missing ?
Thanks
Mathieu
I import subprocess and use Popen, but PIPE is not defined. I used
2.5.1, 2.5.2, Python 2.6a3+ (trunk:63576, May 24 2008, 12:13:40), it's
always the same. What am I missing ?
Without showing code, it's hard to know. A guess is: if you use
import subprocess
then use
subprocess.PIPE
Or if using
from subprocess import Popen
make sure to do
from subprocess import Popen, PIPE
I import subprocess and use Popen, but PIPE is not defined. I used
2.5.1, 2.5.2, Python 2.6a3+ (trunk:63576, May 24 2008, 12:13:40), it's
always the same. What am I missing ?
Thanks
Mathieu
Try subprocess.PIPE .
>I import subprocess and use Popen, but PIPE is not defined. I used
>2.5.1, 2.5.2, Python 2.6a3+ (trunk:63576, May 24 2008, 12:13:40), it's
>always the same. What am I missing ?