printing to a redirected stdout from a process that was called with "2>&1 > /dev/null &"
helgaorg at gmail.com
Tue Jan 30 16:42:22 CET 2007
Sadly, the group is tied to Python 2.3 for now.
Actually, I got around this problem by using an intermediate process that
happens to handle output on its own (bsub).
On 1/30/07, Chris Lambacher <chris at kateandchris.net> wrote:
> The subprocess module is probably a good starting point:
> It will allow you greater control over what happens with the output of a
> process that you start. Specifically look at the the stdout and stderr
> arguments to Popen. You can provide these with an open file descriptor or
> file object and it will dump the output into there.
> > _jason
> > --
> > http://mail.python.org/mailman/listinfo/python-list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list