subprocess.run
and argparse
nargs (multi-value options) is tricky
Python If you have a Python program that uses argparse
nargs to specify multi-value options then you need to make sure that each value is its own parameter.
import subprocess
subprocess.run(
[
'command',