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(cli): Fix issue where install drops user into Python Shell

Karim shoair087a85d615bb
diff --git a/scrapling/cli.py b/scrapling/cli.py
index 7d22f0c..be2c257 100644
--- a/scrapling/cli.py
+++ b/scrapling/cli.py
@@ -12,7 +12,7 @@ def get_package_dir():
def run_command(command, line):
print(f"Installing {line}...")
- _ = subprocess.check_call(command, shell=True)
+ _ = subprocess.check_call(' '.join(command), shell=True)
# I meant to not use try except here