From a9dded34f42594c37e1078f9a0cc943c7df3a99a Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Sat, 26 Apr 2025 04:10:38 +0300 Subject: [PATCH] fix(install): Fix error with spaces in Python's path (#57) --- scrapling/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapling/cli.py b/scrapling/cli.py index d1d4aa5..9e6eaab 100644 --- a/scrapling/cli.py +++ b/scrapling/cli.py @@ -14,7 +14,7 @@ def get_package_dir(): def run_command(command, line): print(f"Installing {line}...") - _ = subprocess.check_call(" ".join(command), shell=True) + _ = subprocess.check_call(command, shell=False) # nosec B603 # I meant to not use try except here