Got it working now. It was a silly character pid instead of an int..
int(pid) fixed it.
Thanks anyway!
regards, Lukas
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
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).
Can anyone give me a hint in solving this?
Best regards,
Lukas
[EMAIL PROTECTED] 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