diff nist_wrapper.py @ 19:a394029414c6

fix
author pieter.lukasse@wur.nl
date Fri, 23 Jan 2015 17:42:19 +0100
parents dae90b9abf61
children 3abd271b4626
line wrap: on
line diff
--- a/nist_wrapper.py	Fri Jan 23 17:24:03 2015 +0100
+++ b/nist_wrapper.py	Fri Jan 23 17:42:19 2015 +0100
@@ -142,6 +142,9 @@
         if timeSleeping > (startUpTime + job_size*2):
             # abort with timeout:
             utils.log_message(log_file, "No results after " + str(timeSleeping) + " seconds...")
+            # uggly workaround: 
+            utils.kill_process_by_name("nistms.exe")
+            utils.kill_process_by_name("nistms$.exe")
             raise Exception('Error: timeout waiting for NIST results.')
         
     utils.log_message(log_file, "done...")