Re: Python shell scripting and errors

2009-02-23 Thread birdsong
On Feb 23, 9:34 am, Philip Semanchuk wrote: > On Feb 23, 2009, at 12:21 PM, Tim Wintle wrote: > > > 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 occasionall

Re: Python shell scripting and errors

2009-02-23 Thread Philip Semanchuk
On Feb 23, 2009, at 12:21 PM, Tim Wintle wrote: 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 g

Re: Python shell scripting and errors

2009-02-23 Thread Tim Wintle
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

Python shell scripting and errors

2009-02-23 Thread Phillip B Oldham
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? -- http://mail