Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4541/src
Modified Files:
childapp.py
Log Message:
adjust to new kaa.notifier popen interface
Index: childapp.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/childapp.py,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -d -r1.76 -r1.77
*** childapp.py 15 Jul 2005 20:50:36 -0000 1.76
--- childapp.py 5 Aug 2005 17:22:04 -0000 1.77
***************
*** 80,85 ****
debugname = sysconfig.logfile(debugname)
! kaa.notifier.Process.__init__(self, app, debugname,
! callback=self.finished)
if prio and config.CONF.renice:
--- 80,88 ----
debugname = sysconfig.logfile(debugname)
! kaa.notifier.Process.__init__(self, app, debugname)
!
! self.signals["stdout"].connect(self.stdout_cb)
! self.signals["stderr"].connect(self.stderr_cb)
! self.signals["died"].connect(self.finished)
if prio and config.CONF.renice:
***************
*** 99,107 ****
def stop_event(self):
"""
! event to send on stop
"""
return PLAY_END
def finished(self):
# Ok, we can use the OSD again.
--- 102,124 ----
def stop_event(self):
"""
! Event to send on stop
"""
return PLAY_END
+ def stdout_cb(self, line):
+ """
+ Handle stdout of the process.
+ """
+ pass
+
+
+ def stderr_cb(self, line):
+ """
+ Handle stderr of the process.
+ """
+ pass
+
+
def finished(self):
# Ok, we can use the OSD again.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog