pipes usually consumes disk storage at '/tmp'. Are you sure you have enough 
room on that filesystem? Make sure no other processes are competing against for 
that space. Just my 50c because I don't know what's causing Errno 0. I don't 
even know what are the possible causes of such error. Good luck!

----------------------------------------
> Date: Sun, 26 May 2013 16:58:57 -0700
> Subject: Re: Piping processes works with 'shell = True' but not otherwise.
> From: luca.cer...@gmail.com
> To: python-list@python.org
[...]
> I tried to redirect the output to /dev/null using the Popen argument:
> 'stdin = os.path.devnull' (having imported os of course)..
> But this seemed to cause even more troubles...
>
>> Lastly, you may want to consider using a wrapper library such as 
>> http://plumbum.readthedocs.org/en/latest/ , which makes it easier to do 
>> pipelining and other such "fancy" things with subprocesses, while still 
>> avoiding the many perils of the shell.
>>
>>
> Thanks, I didn't know this library, I'll give it a try.
> Though I forgot to mention that I was using the subprocess module, because I 
> want the code to be portable (even though for now if it works in Unix 
> platform is OK).
>
> Thanks a lot for your help,
> Cheers,
> Luca
> --
> http://mail.python.org/mailman/listinfo/python-list                           
>           
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to