Skip to content
New issue

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

mac 使用重新编译的时候提示错误 #15

Open
sj1370201 opened this issue May 8, 2017 · 3 comments
Open

mac 使用重新编译的时候提示错误 #15

sj1370201 opened this issue May 8, 2017 · 3 comments

Comments

@sj1370201
Copy link

[dogo] Changed files: sms.go
[dogo] Terminate the process 21062:
exit status 1---

@liudng
Copy link
Owner

liudng commented May 8, 2017

基于mac系统的实现比较弱(因为很少使用用mac),基于linux系统的实现比较完善。如果你有时间可以帮助完善基于mac的版本。

@sj1370201
Copy link
Author

我查到在这个方法里 func (d *Dogo) BuildAndRun() {
d.cmd.Process.Kill() 杀死进程没有权限 不知道如何修改。。。
if _, err := exec.Command("kill", "-9", strconv.Itoa(d.cmd.Process.Pid)).CombinedOutput(); err != nil {
尝试这种方式 kill那个进程也一样没权限

@sj1370201
Copy link
Author

网上没有找到类似的方法 获取最高权限去kill进程

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants