Monitor parent process for shutdown

This commit is contained in:
Ruud
2012-01-27 15:28:31 +01:00
parent 77e3a89d67
commit 5882f251de
3 changed files with 64 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ data_dir = getDataDir()
def start():
try:
args = [sys.executable] + [os.path.join(os.environ['PWD'], __file__)] + sys.argv[1:]
args = [sys.executable] + [os.path.join(base_path, __file__)] + sys.argv[1:]
new_environ = os.environ.copy()
new_environ['cp_main'] = 'true'