Author giampaolo.rodola
Recipients astrand, brian.curtin, ezio.melotti, giampaolo.rodola, markon, milko.krachounov
Date 2010-06-09.19:48:47
SpamBayes Score 0.0171399
Marked as misclassified No
Message-id <1276112931.18.0.287025323111.issue6973@psf.upfronthosting.co.za>
In-reply-to
Content
I totally agree this should be fixed (there was a similar issue for psutil: http://code.google.com/p/psutil/issues/detail?id=58) but communicate() and wait() should be affected in the same manner.

Probably it would make sense to add an is_running() method and decorate send_signal(), kill(), communicate() and wait() methods with a function which makes sure that the process is still running, otherwise raises an exception instead.

Maybe it would also makes sense to provide a brand new NoSuchProcess exception class.
History
Date User Action Args
2010-06-09 19:48:51giampaolo.rodolasetrecipients: + giampaolo.rodola, astrand, ezio.melotti, brian.curtin, markon, milko.krachounov
2010-06-09 19:48:51giampaolo.rodolasetmessageid: <1276112931.18.0.287025323111.issue6973@psf.upfronthosting.co.za>
2010-06-09 19:48:47giampaolo.rodolalinkissue6973 messages
2010-06-09 19:48:47giampaolo.rodolacreate