Hello, I'm writing my first plugin for freevo : a dvd backup plugin to rip, shrink and burn dvd on dvd-r. It's entirely based on mmpython and can choose video, audio and subtitles streams to rip.
Everything is working fine, except the threads handling : I can't find a method to kill entirely my childs... Here is an example : I want to start a child with pipeline like that : read_dvd_command = '%s -t dvd -i %s -T %d,-1 -P 2>/dev/null | tee %s > /dev/null' % (config.TCCAT_CMD, self.info.device, self.info.trackno, all_fifo) child = childapp.ChildApp2(read_dvd_command) When I invoke the stop method, only the first part of my command is killed (i.e. the tccat command) and not the 'tee' command When I look in the childapp code, I see that the command is executed with 'sh -c command', which start new 'jobs' in background which will never be killed by the childapp class... Have I to rewrite my code not to use pipelines (with the stdin, stdout methods of popenX), or is it possible to handle pipelines in commands? Thanks in advance, Nicolas Michaux. ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
