Message90855
It might be better to pick a better (but probably platform-specific) API
for such a use-case. os.kill has a problem with false positives (on
Linux it will tell you a process exists even when it doesn't). Looking
in /proc/ or using a Windows API to enumerate all existing processes
might be better. These have the advantage of giving you a bunch of PID
information all at once which you can then check against, rather than
repeatedly making syscalls. |
|
Date |
User |
Action |
Args |
2009-07-23 18:50:22 | exarkun | set | recipients:
+ exarkun, pmolina |
2009-07-23 18:50:22 | exarkun | set | messageid: <1248375022.61.0.873671789274.issue6554@psf.upfronthosting.co.za> |
2009-07-23 18:50:21 | exarkun | link | issue6554 messages |
2009-07-23 18:50:20 | exarkun | create | |
|