Popen: NameError: name 'PIPE' is not defined

Jack Yu jackyuke at gmail.com
Sat May 24 08:48:57 EDT 2008


On Sat, 24 May 2008 14:09:07 +0200,Mathieu Prevot wrote:

> Hi
> 
> 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.



More information about the Python-list mailing list