Karim shoair commited on
Commit
f3f8b20
·
1 Parent(s): 00dc5d3

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

Browse files
Files changed (1) hide show
  1. scrapling/cli.py +1 -1
scrapling/cli.py CHANGED
@@ -14,7 +14,7 @@ def get_package_dir():
14
 
15
  def run_command(command, line):
16
  print(f"Installing {line}...")
17
- _ = subprocess.check_call(" ".join(command), shell=True)
18
  # I meant to not use try except here
19
 
20
 
 
14
 
15
  def run_command(command, line):
16
  print(f"Installing {line}...")
17
+ _ = subprocess.check_call(command, shell=False) # nosec B603
18
  # I meant to not use try except here
19
 
20