Message240809
I think at a minimum, a return should be added in the cases that call GenerateConsoleCtrlEvent and it fails.
Here's a more radical proposal, though: deprecate kill() on Windows and add a function that calls GenerateConsoleCtrlEvent and another that calls TerminateProcess. The rationale is that the two do act quite a bit differently than kill does on non-Windows systems do and it's a bad idea to try to provide cross-platform functionality when it can't be done. kill() on non-Windows systems would be left alone. |
|
Date |
User |
Action |
Args |
2015-04-13 23:40:53 | jpe | set | recipients:
+ jpe, pitrou, vstinner, tim.golden, r.david.murray, asvetlov, BreamoreBoy, zach.ware, steve.dower |
2015-04-13 23:40:53 | jpe | set | messageid: <1428968453.69.0.563977545241.issue14484@psf.upfronthosting.co.za> |
2015-04-13 23:40:53 | jpe | link | issue14484 messages |
2015-04-13 23:40:53 | jpe | create | |
|