This commit is contained in:
aozhiwei 2019-05-30 16:32:48 +08:00
parent 03a7c2bc2f
commit b0babbb1f7

View File

@ -24,7 +24,7 @@ def monitor_gs():
pids = getRuningProgramPids('gameserver2001')
if len(pids) <= 0:
print('zzzz')
os.popen('nohup ./gameserver2001 -i1 >> gameserver2001.out 2>&1 &')
os.popen('nohup ./gameserver2001 -n1 -i1 >> gameserver2001.out 2>&1 &')
time.sleep(2)
monitor_gs()