Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

fix(install): Fix error with spaces in Python's path (#57)

Karim shoaira9dded34f425
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