From 8a490e71c87b26bc83302349db0ecf1d8219d973 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 15 Nov 2017 21:21:25 +0000 Subject: Alter benchmark.py to kill procs after each run --- benchmark.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'benchmark.py') diff --git a/benchmark.py b/benchmark.py index cc8af20..4584589 100644 --- a/benchmark.py +++ b/benchmark.py @@ -106,7 +106,9 @@ for rulesGen in [BlackHoleRulesGen(), SpanishPatienceRulesGen(), except: print("Unknown error in script") sys.exit() - + + run("pkill solvitaire", shell=True) + if timeouts > timeoutsLimit: break; -- cgit v1.2.1