From 53ff154c423d96cc20af8b68c98241a55fb68967 Mon Sep 17 00:00:00 2001 From: David Hiatt Date: Wed, 25 Apr 2018 18:24:11 -0700 Subject: [PATCH] updated to python3 --- objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objects.py b/objects.py index 1bdfb9f..5bf1c2d 100644 --- a/objects.py +++ b/objects.py @@ -140,9 +140,9 @@ def run_composite(self, path): for x in range(self.num_runs): result_dir = self._prerun(path) #p = Popen([self.jdk, self.jvm_options, "-jar", "{}/specjbb2015.jar".format(path), "-m", "COMPOSITE", opts, "2>", "{}/composite.log".format(result_dir), "{}/composite.out".format(result_dir)]) - p.wait() + #p.wait() # spec = os.subprocess.Popen(['/usr/bin/java' "{}/specjbb2015.jar".format(path)]) - #os.system('{} {} -jar {}/specjbb2015.jar -m COMPOSITE {} 2> {}/composite.log > {}/composite.out &'.format(self.jdk, self.jvm_options, path, opts, result_dir, result_dir)) + os.system('{} {} -jar {}/specjbb2015.jar -m COMPOSITE {} 2> {}/composite.log > {}/composite.out &'.format(self.jdk, self.jvm_options, path, opts, result_dir, result_dir)) return 0 def run_distributed_ctrl_txl(self, path):