Re: To Stop a Process that is Waiting on socket.accept()

2006-10-26 Thread mumebuhi
Hi Steve, The output is as the following (excluding the "---start---" and "---end---"): ---start--- die now Traceback (most recent call last): File "../../../scratch/python/tmp.py", line 39, in ? channel, details = server.accept() File "/usr/lib/python2.4/socket.py", line 169, in accept

Re: To Stop a Process that is Waiting on socket.accept()

2006-10-26 Thread Steve Holden
mumebuhi wrote: > I am having problem to kill the following script completely. The script > basically does the following. The main thread creates a new thread, > which does a completely useless thing, and then starts excepting for a > connection via socket. > > # start > import pickle > import sig

To Stop a Process that is Waiting on socket.accept()

2006-10-26 Thread mumebuhi
I am having problem to kill the following script completely. The script basically does the following. The main thread creates a new thread, which does a completely useless thing, and then starts excepting for a connection via socket. # start import pickle import signal import simplejson import soc