We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab0e051 commit 1f42b1eCopy full SHA for 1f42b1e
seleniumbase/undetected/__init__.py
@@ -264,12 +264,17 @@ def __init__(
264
else:
265
import subprocess
266
267
+ creationflags = 0
268
+ sys_plat = sys.platform
269
+ if "win32" in sys_plat or "win64" in sys_plat or "x64" in sys_plat:
270
+ creationflags = subprocess.CREATE_NO_WINDOW
271
browser = subprocess.Popen(
272
[options.binary_location, *options.arguments],
273
stdin=subprocess.PIPE,
274
stdout=subprocess.PIPE,
275
stderr=subprocess.PIPE,
276
close_fds=IS_POSIX,
277
+ creationflags=creationflags,
278
)
279
self.browser_pid = browser.pid
280
service_ = None
0 commit comments