I used to be able to do a subprocess.call([\"command\",\"-option value -option value\"]) and it would work there was a change to the command to work properly
subprocess.call([\"command\",\"-option value -option value\"])
Avoid shell=True if you can -- it's a security risk. For this purpose, shlex.split suffices:
shell=True
import subprocess import shlex subprocess.call(shlex.split("command -option value -option value"))