lang03383 commited on
Commit
c2dd33d
·
verified ·
1 Parent(s): 84a10f2

Update sd_yun/launch_en.py

Browse files
Files changed (1) hide show
  1. sd_yun/launch_en.py +2 -1
sd_yun/launch_en.py CHANGED
@@ -130,7 +130,8 @@ with tunnel:
130
  except subprocess.CalledProcessError:
131
  # 脚本没有运行,启动它
132
  print("启动 Upload 脚本")
133
- subprocess.Popen(["nohup", "python", "./upload.py", ">", "/dev/null", "2>&1", "&"])
 
134
  # get_ipython().system('COMMANDLINE_ARGS="{commandline_arguments}" python upload.py &> /dev/null &')
135
  get_ipython().system('COMMANDLINE_ARGS="{commandline_arguments}" python launch.py')
136
 
 
130
  except subprocess.CalledProcessError:
131
  # 脚本没有运行,启动它
132
  print("启动 Upload 脚本")
133
+ # subprocess.Popen(["nohup", "python", "./upload.py", ">", "/dev/null", "2>&1", "&"])
134
+ get_ipython().system('COMMANDLINE_ARGS="{commandline_arguments}" python upload.py &> /dev/null &')
135
  # get_ipython().system('COMMANDLINE_ARGS="{commandline_arguments}" python upload.py &> /dev/null &')
136
  get_ipython().system('COMMANDLINE_ARGS="{commandline_arguments}" python launch.py')
137