Skip to content

Commit 2d0df8e

Browse files
authored
chore: do not set no_window to the process (#1712)
1 parent 334c279 commit 2d0df8e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

playwright/_impl/_transport.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import io
1717
import json
1818
import os
19-
import subprocess
2019
import sys
2120
from abc import ABC, abstractmethod
2221
from pathlib import Path
@@ -107,9 +106,6 @@ async def wait_until_stopped(self) -> None:
107106

108107
async def connect(self) -> None:
109108
self._stopped_future: asyncio.Future = asyncio.Future()
110-
creationflags = 0
111-
if sys.platform == "win32":
112-
creationflags = subprocess.CREATE_NO_WINDOW
113109

114110
try:
115111
# For pyinstaller
@@ -124,7 +120,6 @@ async def connect(self) -> None:
124120
stdout=asyncio.subprocess.PIPE,
125121
stderr=_get_stderr_fileno(),
126122
limit=32768,
127-
creationflags=creationflags,
128123
env=env,
129124
)
130125
except Exception as exc:

0 commit comments

Comments
 (0)