Update index.py

pull/504/head
Mr Chen 2 years ago
parent e1b57621d5
commit 1acc9a4b76
  1. 2
      plugins/gogs/index.py

@ -917,7 +917,7 @@ def projectScriptSelf_Run():
self_path = custom_hooks + '/self/' + file
self_logs_path = custom_hooks + '/self_logs/' + file + '.log'
shell = "sh -x " + self_path + " 2>" + self_logs_path
shell = "sh -x " + self_path + " 2>" + self_logs_path + ' &'
mw.execShell(shell)
return mw.returnJson(True, '执行成功!')

Loading…
Cancel
Save