🚀 dashboard v0.14.7 with agent v0.14.4

This commit is contained in:
naiba committed 2022-11-01 21:46:02 +08:00
1 parent e36fae2da1
commit ab5b6eddf0
8 files changed
+47 -12

No files matched your search

+1 -1
View File
@@ -61,7 +61,7 @@ func (pty *Pty) killChildProcess(c *exec.Cmd) error {
c.Process.Kill()
}
// Kill the whole process group.
syscall.Kill(-pgid, syscall.SIGTERM)
syscall.Kill(-pgid, syscall.SIGKILL) // SIGKILL 直接杀掉 SIGTERM 发送信号,等待进程自己退出
return c.Wait()
}