[dundee] A Python got me by the Neck...

Robert McWilliam rmcw at allmail.net
Wed Aug 1 10:43:38 BST 2007


On Tue, 31 Jul 2007 22:08:07 +0100 (BST)
Lee Hughes <toxicnaan at yahoo.co.uk> wrote: 
> any idea's. I've not got console access, so I'm not sure if I'm
> getting any nasty  errors messages on start.

To catch the output from the python script you can wrap it in a shell
script that redirect stdout and stderr to a file, i.e. move the python
script out of /etc/init* and replace it with something like:

	#!/bin/sh

	/path/to/python/script &>/path/to/log/file

________________________________________________________
Robert McWilliam     rmcw at allmail.net    www.ormiret.com

People who think they know what they are doing are especially annoying
to those of us who do.



More information about the dundee mailing list