fix(driver): with CWD which contained spaces (#17579)
Fixes https://github.com/microsoft/playwright-python/issues/1561 Fixes https://github.com/microsoft/playwright-python/issues/1565
This commit is contained in:
Родитель
f5d7089819
Коммит
a5eee6d960
|
@ -1,4 +1,6 @@
|
|||
@ECHO OFF
|
||||
SETLOCAL
|
||||
IF %PLAYWRIGHT_NODEJS_PATH%x == x SET PLAYWRIGHT_NODEJS_PATH="%~dp0\node.exe"
|
||||
"%PLAYWRIGHT_NODEJS_PATH%" "%~dp0\package\lib\cli\cli.js" %*
|
||||
@echo off
|
||||
setlocal
|
||||
if not defined PLAYWRIGHT_NODEJS_PATH (
|
||||
set PLAYWRIGHT_NODEJS_PATH=%~dp0\node.exe
|
||||
)
|
||||
"""%PLAYWRIGHT_NODEJS_PATH%""" "%~dp0\package\lib\cli\cli.js" %*
|
||||
|
|
Загрузка…
Ссылка в новой задаче