import subprocess import shlex subprocess.call(shlex.split('./test.sh param1 param2')) #with test.sh in the same folder: #!/bin/sh echo $1 echo $2 exit 0