beremiz
Clone
Summary
Browse
Changes
Graph
runtime's process cwd should now be the same as provided working dir, fixin permission problem on W7
2011-10-06, Edouard Tisserant
885a224a35be
Parents
a3ce93d63832
Children
8cdb533c3c7a
2b9bd5dcf8d2
runtime's process cwd should now be the same as provided working dir, fixin permission problem on W7
1 files changed, 1 insertions(+), 0 deletions(-)
+1
-0
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]