From a5057acb5862bf6d1a805d66e0c54f99e9076d84 Mon Sep 17 00:00:00 2001 From: Andrew Pikul Date: Fri, 27 Sep 2024 22:01:52 -0400 Subject: [PATCH] Remove close_fds to avoid spooky window behavior --- devtools/chrome_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/chrome_wrapper.py b/devtools/chrome_wrapper.py index c112439a..fb9a7259 100644 --- a/devtools/chrome_wrapper.py +++ b/devtools/chrome_wrapper.py @@ -62,7 +62,7 @@ def open_browser(to_chromium, from_chromium, stderr=None, env=None, loop=None, l f"--remote-debugging-io-pipes={str(to_chromium_handle)},{str(from_chromium_handle)}" ] if platform.system() == "Windows": - win_only = {"creationflags": subprocess.CREATE_NEW_PROCESS_GROUP, "close_fds":False} + win_only = {"creationflags": subprocess.CREATE_NEW_PROCESS_GROUP} if not loop: return subprocess.Popen( cli,