box-o-sand/oldstuff/lcthw-remnants/break-ex10.py

11 lines
234 B
Python
Raw Normal View History

2011-09-09 13:17:53 +00:00
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))
2011-09-09 13:17:53 +00:00
os.system(command)