[Twisted-Python] Trying to use adoptStreamConnection and Protocol isn't being disposed

2016-01-09 Thread Sirenfal
I'm trying to pass a TCP connection to a Twisted subprocess with adoptStreamConnection, but I can't figure out how to get the Process disposed in the main process after doing that. My desired flow looks like this: - Finish writing any data the Protocol transport has waiting - When we know the

Re: [Twisted-Python] Trying to use adoptStreamConnection and Protocolisn't being disposed

2016-01-09 Thread Sirenfal
Sorry, I meant to say "get the Protocol disposed in the main process" in the first sentence :)___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Trying to use adoptStreamConnection and Protocol isn't being disposed

2016-01-09 Thread Glyph Lefkowitz
> On Jan 9, 2016, at 1:56 PM, Sirenfal wrote: > > I'm trying to pass a TCP connection to a Twisted subprocess with > adoptStreamConnection, but I can't figure out how to get the Process disposed > in the main process after doing that. > > My desired flow looks like this: > > - Finish writi