|
|
@@ -35,5 +35,7 @@ if __name__=='__main__': |
|
|
|
process_exists = True |
|
|
|
break |
|
|
|
if not process_exists: |
|
|
|
subprocess.Popen(['./SimulationCore2', redis_address,str(redis_port),redis_password,simulation_id,str(log_level),str(stepTime)], cwd=work_dir) |
|
|
|
command = ['./SimulationCore2', redis_address,str(redis_port),redis_password,simulation_id,str(log_level),str(stepTime)] |
|
|
|
print(command) |
|
|
|
subprocess.Popen(command, cwd=work_dir) |
|
|
|
time.sleep(5) |