mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 13:40:06 +00:00
🚀 dashboard v0.14.7 with agent v0.14.4
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user