Message9151
Yeah, pid and os.kill ought to be enough to get this fully implemented. Could mostly use the default subprocess logic both on POSIX and on Windows after that. The only exception I can think of is that SIGTERM should be mapped to Popen.terminate (and through it to Java's Process.destroy) also on POSIX. That would give us SIGTERM support even if pid wouldn't be available.
I though Jython didn't have os.kill at all, but apparently it has it except on Windows. Is there a reason it's not there on Windows like it is on Python 2.7? Should a separate issue be submitted about it? It ought to be possible to send CTRL_C_EVENT and CTRL_BREAK_EVENT using ctypes. Signals are obviously much more useful on POSIX, and thus I consider Windows support lowest priority here. |
|
Date |
User |
Action |
Args |
2014-10-14 21:49:44 | pekka.klarck | set | messageid: <1413323384.65.0.815072812101.issue2219@psf.upfronthosting.co.za> |
2014-10-14 21:49:44 | pekka.klarck | set | recipients:
+ pekka.klarck, zyasoft |
2014-10-14 21:49:44 | pekka.klarck | link | issue2219 messages |
2014-10-14 21:49:44 | pekka.klarck | create | |
|