Want to monitor process..

Peter Hansen peter at engcorp.com
Sat Mar 2 00:32:32 EST 2002


Stephen wrote:
> 
> Peter Hansen <peter at engcorp.com> wrote in message
> > I'm not sure what the interactive thing would add, since the
> > interpreter will already print exception tracebacks to the console
> > whenever your program exits exceptionally.  If you aren't seeing
> > a traceback, maybe you aren't really exiting with an exception.
> 
> Sorry, I should have explained that the reason I don't see the output
> is that I run the programs in the background since I log into the
> servers from remote and don't want the programs exiting when I log
> out.

Ah, I understand now.  Could you just redirect stdout to a file for
those?  Then when they've crashed, you'll be able to pop in and check
the log.

-Peter



More information about the Python-list mailing list