box-o-sand/break-ex10.py
2011-09-09 09:17:53 -04:00

11 lines
233 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 = {}".format(command))
os.system(command)