fix(#2698): keep the pinned home across isolated fallbacks
This commit is contained in:
1 parent
c7375c60c4
commit
e77ca8dbac
4 files changed
+92
-1
No files matched your search
@@ -549,6 +549,8 @@ def main() -> int:
|
||||
# for SO_EXCLUSIVEADDRUSE.
|
||||
_CREATE_NEW_PROCESS_GROUP = getattr(subprocess, "CREATE_NEW_PROCESS_GROUP", 0)
|
||||
subprocess.Popen([python_exe, server_path],
|
||||
cwd=server_cwd,
|
||||
env=os.environ.copy(),
|
||||
creationflags=_CREATE_NEW_PROCESS_GROUP)
|
||||
sys.exit(0)
|
||||
os.execv(python_exe, [python_exe, server_path])
|
||||
|
||||
Reference in new issue
Block a user