diff options
Diffstat (limited to 'dev-python/playwright/files')
| -rw-r--r-- | dev-python/playwright/files/playwright-1.64.0-look-up-playwright-from-the-PATH.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/playwright/files/playwright-1.64.0-look-up-playwright-from-the-PATH.patch b/dev-python/playwright/files/playwright-1.64.0-look-up-playwright-from-the-PATH.patch new file mode 100644 index 000000000000..9ad3261d5b03 --- /dev/null +++ b/dev-python/playwright/files/playwright-1.64.0-look-up-playwright-from-the-PATH.patch @@ -0,0 +1,19 @@ +From: Pavel Sobolev <contact@paveloom.dev> +Subject: [PATCH] Look up `playwright` from the `PATH` + +Signed-off-by: Pavel Sobolev <contact@paveloom.dev> + +--- a/playwright/_impl/_transport.py ++++ b/playwright/_impl/_transport.py +@@ -121,10 +121,8 @@ class PipeTransport(Transport): + startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW + startupinfo.wShowWindow = subprocess.SW_HIDE + +- executable_path, entrypoint_path = compute_driver_executable() + self._proc = await asyncio.create_subprocess_exec( +- executable_path, +- entrypoint_path, ++ "playwright", + "run-driver", + stdin=asyncio.subprocess.PIPE, + stdout=asyncio.subprocess.PIPE, |
