subprocess.Popen
Michele Simionato
michele.simionato at gmail.com
Sun Dec 12 04:28:15 EST 2004
More information about the Python-list mailing list
Sun Dec 12 04:28:15 EST 2004
- Previous message (by thread): subprocess.Popen
- Next message (by thread): subprocess.Popen
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I was looking at Python 2.4 subprocess.Popen. Quite nice and handy, but I
wonder why a "kill" method is missing. I am just adding it via subclassing,
class Popen(subprocess.Popen):
def kill(self, signal = SIGTERM):
os.kill(self.pid, signal)
but I would prefer to have it in the standard Popen class. I am surprised
it is not there. Any comments?
Michele Simionato
- Previous message (by thread): subprocess.Popen
- Next message (by thread): subprocess.Popen
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list