Restart process with SIGHUP
Mike Meyer
mwm at mired.org
Wed Jan 11 09:57:05 EST 2006
LukasMeyerUK at gmail.com writes:
> I'm trying to restart a process with the os.kill command. My Problem is
> that if the command gets executed, my python script stops working. I
> want to SIGHUP a process with the following command: os.kill(pid,
> signal.SIGHUP).
That looks right.
> Can anyone give me a hint in solving this?
Not without knowing what the problem really is. Show us code. Show us
a traceback (best) or otherwise provide details about what "stops
working" means.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
More information about the Python-list
mailing list