# HG changeset patch
# User Edouard Tisserant
# Date 1317933545 -7200
# Node ID 885a224a35bee290c6d9b5f58f02adbb82a683b5
# Parent  a3ce93d638323a8261b74a14d71d05439e2ef706
runtime's process cwd should now be the same as provided working dir, fixin permission problem on W7

diff -r a3ce93d63832 -r 885a224a35be Beremiz_service.py
--- a/Beremiz_service.py	Fri Sep 30 23:41:46 2011 +0200
+++ b/Beremiz_service.py	Thu Oct 06 22:39:05 2011 +0200
@@ -84,6 +84,7 @@
     sys.exit()
 elif len(argv) == 1:
     WorkingDir = argv[0]
+    os.chdir(WorkingDir)
 elif len(argv) == 0:
     WorkingDir = os.getcwd()
     argv=[WorkingDir]