[New-bugs-announce] [issue23948] Deprecate os.kill() on Windows
John Ehresman
report at bugs.python.org
Tue Apr 14 17:24:21 CEST 2015
New submission from John Ehresman:
os.kill() on Windows cannot act like it does on non-windows platforms because of differences in the underlying platforms. I think only kill() with a signal number of 9 (terminate process unconditionally) and a signal number of 0 (test to see if process exists) could be implemented. It isn't possibly to send the INT signal or a HUP signal to another process -- or at least it isn't possible without the use of questionable api's and code.
Windows specific functions would be added for terminateprocess() and generateconsolectrlevent(). os.kill() on non-windows platforms would be left alone.
----------
components: Windows
messages: 240905
nosy: jpe, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Deprecate os.kill() on Windows
type: behavior
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23948>
_______________________________________
More information about the New-bugs-announce
mailing list