From 087a85d615bb8aa4ffd0579f380e505b6757fdbb Mon Sep 17 00:00:00 2001 From: Karim shoair Date: Wed, 5 Mar 2025 03:28:07 +0200 Subject: [PATCH] fix(cli): Fix issue where install drops user into Python Shell --- scrapling/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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