Re: [Twisted-Python] Knowing whether spawnProcess did anything useful

2010-07-14 Thread Dominic van Berkel
On 14-7-2010 4:34, exar...@twistedmatrix.com wrote: > Without the reactor running, neither the pid nor the status will ever be > updated. The event loop is needed in order to respond to the event of > the child process exiting. > Knew I was forgetting something - starting the reactor would pr

Re: [Twisted-Python] Knowing whether spawnProcess did anything useful

2010-07-13 Thread exarkun
On 13 Jul, 09:18 pm, domi...@baudvine.net wrote: >Hiya, > >I'm looking for a way to know whether spawnProcess() did anything >useful. That is, whether anything has actually been executed. In my >specific case the executables are all persistent (pluggable modules, >they stick around for a while) so

[Twisted-Python] Knowing whether spawnProcess did anything useful

2010-07-13 Thread Dominic van Berkel
Hiya, I'm looking for a way to know whether spawnProcess() did anything useful. That is, whether anything has actually been executed. In my specific case the executables are all persistent (pluggable modules, they stick around for a while) so based on the following snippet I thought I could check