Skip to content

Commit 82ac046

Browse files
authored
fix(subprocess): tolerate spaces in paths (microsoft#217)
1 parent 7aed55c commit 82ac046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,6 @@ def main() -> None:
146146
if st.st_mode & stat.S_IEXEC == 0:
147147
os.chmod(driver_executable, st.st_mode | stat.S_IEXEC)
148148
print("Installing the browsers...")
149-
subprocess.check_call(f"{driver_executable} install", shell=True)
149+
subprocess.check_call([str(driver_executable), "install"])
150150

151151
print("Playwright is now ready for use")

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy