Beremiz.py
changeset 218 71fddab24be9
parent 217 f3eb35df4d87
child 220 ad3292145fc2
equal deleted inserted replaced
217:f3eb35df4d87 218:71fddab24be9
   358     def __init__(self, parent, projectOpen):
   358     def __init__(self, parent, projectOpen):
   359         self._init_ctrls(parent)
   359         self._init_ctrls(parent)
   360         
   360         
   361         self.Log = LogPseudoFile(self.LogConsole)
   361         self.Log = LogPseudoFile(self.LogConsole)
   362         
   362         
   363 #        self.local_runtime = ProcessLogger(self.Log,
       
   364 #                                           "bash -c 'while true; do echo coucou; sleep 1; done'")
       
   365         self.local_runtime_tmpdir = tempfile.mkdtemp()
   363         self.local_runtime_tmpdir = tempfile.mkdtemp()
   366         self.local_runtime = ProcessLogger(self.Log,
   364         self.local_runtime = ProcessLogger(self.Log,
   367                                            "%s %s -i localhost %s"%(sys.executable,
   365                                            "%s %s -i localhost %s"%(sys.executable,
   368                                                        Bpath("Beremiz_service.py"),
   366                                                        Bpath("Beremiz_service.py"),
   369                                                        self.local_runtime_tmpdir))
   367                                                        self.local_runtime_tmpdir))