Why won't subprocess.run take a list of arguments?
Why won't subprocess.run take a list of arguments? Question: I am running a script called mini_medsmaker.py, and in that script I am using subprocess.run to call another script called mini_mocks.py. I am using argparse to list my arguments, and this is the command I am running: subprocess.run(["python", "/path/to/mini_mocks.py", *vars(args).values()]) Whenever I run it, I get …