Re: [Twisted-Python] [newb] another process question

2010-11-05 Thread Tim Allen
On Fri, Nov 05, 2010 at 07:28:24PM -0400, Neal Becker wrote: > The status > is passed in the form of a Failure instance, created with a .value that > either holds a ProcessDone object if the process terminated normally (it > died of natural causes instead of receiving a signal, and if the exit c

[Twisted-Python] [newb] another process question

2010-11-05 Thread Neal Becker
Using this code: ... def processEnded(self, reason): print "processEnded, task %s, status %s" % (self.task, reason.value.exitCode,) Here is what I get from a normally terminated process processEnded, task ['sleep', '4']31662, status 0 But now I kill the subprocess, with SIGTERM, and