printing to a redirected stdout from a process that was called with "2>&1 > /dev/null &"
chris at kateandchris.net
Tue Jan 30 16:55:43 CET 2007
On Tue, Jan 30, 2007 at 10:42:22AM -0500, Jason Persampieri wrote:
> Sadly, the group is tied to Python 2.3 for now.
Subprocess for 2.2 and 2.3:
Win32 installers for subversion for 2.2 and 2.3:
> 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 a
> file object and it will dump the output into there.
> > _jason
> > --
> > http://mail.python.org/mailman/listinfo/python-list
> Visible links
> 1. mailto:chris at kateandchris.net
> 2. http://docs.python.org/dev/lib/module-subprocess.html
> 3. http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list