fixed : bug when launch beremiz_service on windows
authorgreg
Tue, 02 Sep 2008 12:24:25 +0200
changeset 234 aff053bad924
parent 233 95b5aa098c4a
child 235 a66e150f2888
fixed : bug when launch beremiz_service on windows
Beremiz.py
--- a/Beremiz.py	Tue Sep 02 12:21:58 2008 +0200
+++ b/Beremiz.py	Tue Sep 02 12:24:25 2008 +0200
@@ -415,7 +415,7 @@
         runtime_port = int(random.random() * 1000) + 61131
         # launch local runtime
         self.local_runtime = ProcessLogger(self.Log,
-                                           "%s %s -p %s -i localhost %s"%(sys.executable,
+                                           "\"%s\" \"%s\" -p %s -i localhost %s"%(sys.executable,
                                                        Bpath("Beremiz_service.py"),
                                                        runtime_port,
                                                        self.local_runtime_tmpdir),