Re: Restart process with SIGHUP

2006-01-13 Thread LukasMeyerUK
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

Restart process with SIGHUP

2006-01-11 Thread LukasMeyerUK
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

Re: Restart process with SIGHUP

2006-01-11 Thread Mike Meyer
[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