浏览代码

First Demo

master
mahmood19227 1年前
父节点
当前提交
9f4b16fe97
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      simulatorManager.py

+ 2
- 1
simulatorManager.py 查看文件

@@ -34,7 +34,8 @@ if __name__=='__main__':
if proc.info['name'] == process_name and len(proc.info['cmdline']) > 1 and proc.info['cmdline'][1] == simulation_id:
process_exists = True
break
if not process_exists:
if not simulation_id in runnings: #process_exists:
runnings.append(simulation_id)
command = ['./SimulationCore2', redis_address,str(redis_port),redis_password,simulation_id,str(log_level),str(stepTime)]
print(command)
subprocess.Popen(command, cwd=work_dir)


正在加载...
取消
保存