On Wednesday, January 29, 2014 2:00:30 PM UTC+2, Victor Stinner wrote:
>
>
> > Perhaps it's good for simple console script which executes some commands 
> > like sh/bash does. I assumed that behavior is not perfect for reactive 
> > systems with running event loop. 
>
> I don't understand "not perfect for reactive systems with running 
> event loop", could you please elaborate? 
>
> I mean just usually when I execute child process in twisted I need to 
process/drop both stdout and stderr without polluting my logs/outputs with 
that garbage.
And using stdin=None doesn't make sense at all: if program requires some 
user input it unlikely should hang on blocking call waiting of some typing 
on keyboard.
This is only my reason to prefer PIPE or, maybe, DEVNULL. Maybe DEVNULL is 
also bad choice because it implicitly silences output.

Reply via email to