[Buildbot-devel] talking to a ShellCommand spawn

Ian Zimmerman itz at sproutsys.com
Thu Dec 18 21:33:39 UTC 2008


Ian Zimmerman wrote:
> Daniel Eggert wrote:
>> On Dec 16, 2008, at 11:08 AM, Ian Zimmerman wrote:
>>
>>> I need to get some information from the program being run in a
>>> ShellCommand, while it is in progress.  Simplifying slightly from the
>>> full horrifying truth, the information is needed for my modified
>>> slave.commands.ShellCommand.kill() which cleans up after the program.
> 
>> You might want to look into section 6.1.9.3 "Adding LogObserver" in 
>> the buildbot manual.
>>
>> A LogObserver can parse a step's output as it is produced.
> 
> That's indeed very close to what i am looking for.  Many thanks!
> 
> i

Then again, this is all master-side, while only the slave is in a 
position to do the cleanup.  Sigh.





More information about the devel mailing list