box-o-sand/break-ex10.py

11 lines
234 B
Python

from __future__ import print_function
import os
import sys
argc = int(sys.argv[1]) if sys.argv[1:] else 23694
command = "valgrind ./ex10 " + " ".join(map(str, range(argc)))
print("command = {0}".format(command))
os.system(command)