There doesn't seem to be any way to portably kill another process in Python. "os.kill" is Mac/Unix only. The "signal" module only lets you send signals to the current process. And the "subprocess" module doesn't have a "kill" function.
Subprocess objects really should have a portable "interrupt" or "kill" function. They already have "poll" and "wait", which have to be implemented differently for different systems; that's the logical place for "kill". Yes, there are nonportable workarounds (http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/347462) but no portable solution. John Nagle -- http://mail.python.org/mailman/listinfo/python-list