tests/linux/test_svgui/methods.py
changeset 261 5299c6746fa8
parent 256 1da137b99948
equal deleted inserted replaced
260:038eff285e00 261:5299c6746fa8
    44 def my_methods(self): 
    44 def my_methods(self): 
    45     def _Run():        
    45     def _Run():        
    46         # External programs list 
    46         # External programs list 
    47         # Launch them and get their pid
    47         # Launch them and get their pid
    48         for prog in self.listLaunchProg:
    48         for prog in self.listLaunchProg:
    49             logger.write("Starting %s\n" % prog['name'])
    49             self.logger.write("Starting %s\n" % prog['name'])
    50             prog['pid'] = ProcessLogger(self.logger, prog['command'], no_gui=prog['no_gui'])
    50             prog['pid'] = ProcessLogger(self.logger, prog['command'], no_gui=prog['no_gui'])
    51             prog['pid'].spin(
    51             prog['pid'].spin(
    52             		 timeout=200,
    52             		 timeout=200,
    53                      keyword = prog['keyword'],
    53                      keyword = prog['keyword'],
    54                      kill_it = False)
    54                      kill_it = False)