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.
- [python-tulip] Need help designing convenience API for su... Guido van Rossum
- Re: [python-tulip] Need help designing convenience A... Victor Stinner
- Re: [python-tulip] Need help designing convenience A... Victor Stinner
- Re: [python-tulip] Need help designing convenience A... Victor Stinner
- [python-tulip] Re: Need help designing convenience A... Andrew Svetlov
- [python-tulip] Re: Need help designing convenien... Victor Stinner
- [python-tulip] Re: Need help designing conve... Andrew Svetlov
- Re: [python-tulip] Re: Need help designi... Victor Stinner
- Re: [python-tulip] Re: Need help de... Andrew Svetlov
- Re: [python-tulip] Re: Need hel... Guido van Rossum
- Re: [python-tulip] Re: Need help designing c... Guido van Rossum
- [python-tulip] Re: Need help designing convenien... Nick Coghlan
- Re: [python-tulip] Re: Need help designing c... Guido van Rossum
