Re: [Twisted-Python] subprocess.Popen

2009-12-15 Thread Aníbal Pacheco
Thanks! I think that is just what I need: http://twistedmatrix.com/documents/current/core/howto/process.html On Tue, Dec 15, 2009 at 3:26 AM, Tim Allen wrote: > On Tue, Dec 15, 2009 at 02:32:40AM -0200, Aníbal Pacheco wrote: >> Is it possible to attach a callback to a process launc

[Twisted-Python] subprocess.Popen

2009-12-14 Thread Aníbal Pacheco
Hi list, Is it possible to attach a callback to a process launched using subprocess.Popen?, I want to receive a notification on process termination. many thanks! anibal.- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedma

Re: [Twisted-Python] serialport protocol as a service

2009-12-08 Thread Aníbal Pacheco
On 12/08/2009 05:50 PM, Lucas Taylor wrote: > On 12/8/09 5:24 AM, Aníbal Pacheco wrote: >> Hello list, >> >> Is there any way to get a service like the twisted.internet.TCPServer >> but for serialport? >> >> I read the serialport code but couldn't fig

[Twisted-Python] serialport protocol as a service

2009-12-08 Thread Aníbal Pacheco
Hello list, Is there any way to get a service like the twisted.internet.TCPServer but for serialport? I read the serialport code but couldn't figure out how to build such an analogy with the tcp server. The goal I wanna reach is to attach this "serial port service" to my service.MultiService