[Twisted-Python] Question on using processes

Matt Feifarek matt.feifarek at gmail.com
Thu Aug 5 20:28:14 EDT 2004


Thank you for your very informative reply. I didn't realize that the
reactor was getting THAT low-level. Cool.

On Fri, 6 Aug 2004 08:12:13 +1000, Tim Allen <screwtape at froup.com> wrote:

> The reason for this is that piping is set up and executed by the shell,
> not the kernel. What you really need (to solve both these problems) is
> a way to get the shell to do all the dirty work for you - and luckily,
> such a feature exists. For the above example, instead of executing
> /bin/cat and handing it the other parameters try executing /bin/sh and
> giving it the parameters ['-c', '/bin/cat foo.txt | /usr/bin/tail']




More information about the Twisted-Python mailing list