1 2 3 4 5 6 7
#!/usr/bin/env python3 import sys, subprocess prog, infile, outfile = sys.argv[1:] subprocess.check_call([prog, infile, outfile])