diff --git a/spacy/util.py b/spacy/util.py index f493cff85..fd6e5ea46 100644 --- a/spacy/util.py +++ b/spacy/util.py @@ -974,7 +974,7 @@ def run_command( cmd_list = command cmd_str = " ".join(command) try: - cmd_to_run = cmd_str if is_windows else cmd_list + cmd_to_run = command if is_windows else cmd_list ret = subprocess.run( cmd_to_run, env=os.environ.copy(),