# HG changeset patch
# User greg
# Date 1220351065 -7200
# Node ID aff053bad924927349fa323697a14d7dd5f099c2
# Parent  95b5aa098c4aa39d8aa0be767beb1311b2fac495
fixed : bug when launch beremiz_service on windows

diff -r 95b5aa098c4a -r aff053bad924 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),