Message157425
| Author |
r.david.murray |
| Recipients |
asvetlov, brian.curtin, r.david.murray |
| Date |
2012年04月03日.14:35:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1333463712.64.0.0926108233243.issue14480@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hmm. I would think it would be a good idea to have os.kill do posix emulation where that makes sense, it makes cross-platform usage easier. That's what 'kill' with no signal does, right (kills the process, just like the posix default)?
The posix spec says "If sig is 0 (the null signal), error checking is performed but no signal is actually sent. The null signal can be used to check the validity of pid." So *signal* zero doesn't have any special meaning on posix, either, but it does have a special meaning to the kill command.
It seems like it would be nice to add support for that to the windows version, but I'm a little confused. First you say that signal 0 has no special meaning, and then you say that it does (signal.CTRL_C_EVENT). Which is it? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月03日 14:35:12 | r.david.murray | set | recipients:
+ r.david.murray, brian.curtin, asvetlov |
| 2012年04月03日 14:35:12 | r.david.murray | set | messageid: <1333463712.64.0.0926108233243.issue14480@psf.upfronthosting.co.za> |
| 2012年04月03日 14:35:12 | r.david.murray | link | issue14480 messages |
| 2012年04月03日 14:35:11 | r.david.murray | create |
|