Monitor parent process for shutdown
This commit is contained in:
1 parent
77e3a89d67
commit
5882f251de
3 files changed
+64
-2
No files matched your search
+1
-1
@@ -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'
|
||||
|
||||
|
||||
Reference in new issue
Block a user