<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 29, 2012, at 5:16 PM, Kevin McIntyre wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Newbie question:<br><br>I'm calling addProcess and everything works well, but I'm trying to understand how to capture/handle stderr stdout for that spawned process.<br clear="all"><br></blockquote><br></div><div>Look into subclassing ProcessMonitor and override startProcess to provide your own ProcessProtocol. The default implementation uses a LoggingProtocol which just logs stdout from the process.</div><div><br></div><div>The process howto should get you up to speed on what you can override in your ProcessProtocol (esp. outReceived() and errReceived())</div><div><a href="http://twistedmatrix.com/documents/current/core/howto/process.html">http://twistedmatrix.com/documents/current/core/howto/process.html</a></div></body></html>