Compare commits

...

2 Commits

Author SHA1 Message Date
bff9548dab Merge branch 'master' into kd-live 2023-06-28 18:01:53 +09:00
06bc095ea4 프로세스 종료 판별 로직 수정 2023-06-28 18:00:51 +09:00

View File

@ -9,6 +9,7 @@ import (
"os/exec"
"path"
"strconv"
"syscall"
"time"
)
@ -71,8 +72,9 @@ func main() {
if err != nil {
stdlog.Fatal(err)
}
state, _ := proc.Wait()
if state == nil {
err = proc.Signal(syscall.Signal(0))
if err == nil {
break
}