[Twisted-Python] spawnProcess - reapProcess not retrying on failures

Glyph Lefkowitz glyph at twistedmatrix.com
Fri Sep 5 12:47:09 MDT 2014


On Sep 5, 2014, at 5:13 AM, exarkun at twistedmatrix.com wrote:

> It seems like a better API would let you say "Here is a protocol, hook its output up to fd 0 in the process, hook fd 1 in the process up to its input.  Here is another protocol, hook fd 2 in the process up to its input" (this would probably be a common configuration - "speak some regular protocol over stdin/stdout, have a little special logic (probably logging) for stderr).

+1

> On the other hand, it's possible to build this on top of ProcessProtocol and no one ever has...

Of course we have _sort of_ done it a gajillion times:

<https://twistedmatrix.com/documents/current/api/twisted.internet.endpoints._WrapIProtocol.html>

-glyph

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20140905/8ac77207/attachment-0002.html>


More information about the Twisted-Python mailing list