We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// check if the process is running or not func (p *Process) isRunning() bool { if p.cmd != nil && p.cmd.ProcessState == nil && p.cmd.Process != nil { if runtime.GOOS == "windows" { proc, err := os.FindProcess(p.cmd.Process.Pid) log.Info("pid: ", p.cmd.Process.Pid, " err: ", err, " porc: ", proc == nil) return proc != nil && err == nil } return p.cmd.Process.Signal(syscall.Signal(0)) == nil } return false }
在这个方法中, 加一行log, 你会惊奇的发现日志刷爆了, 看了一下代码, 开了好几个goruntine + for 循环, 疯狂的调用这个方法.
The text was updated successfully, but these errors were encountered:
这怎么解决啊
Sorry, something went wrong.
fix window isrunning
add951d
No branches or pull requests
在这个方法中, 加一行log, 你会惊奇的发现日志刷爆了, 看了一下代码, 开了好几个goruntine + for 循环, 疯狂的调用这个方法.
The text was updated successfully, but these errors were encountered: