Python shell scripting and errors
Tim Wintle
tim.wintle at teamrubber.com
Mon Feb 23 12:21:51 EST 2009
On Mon, 2009-02-23 at 09:12 -0800, Phillip B Oldham wrote:
> I've got a python script running as a daemon (using someone else's
> daemon module). It runs fine for a while, but will occasionally balk
> and die. Since its running in the background, I'm getting no error
> from it.
>
> What's the best way to capture the output into a file for later review?
Point standard out to an open file handle?
More information about the Python-list
mailing list