dogo icon indicating copy to clipboard operation
dogo copied to clipboard

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

Open sj1370201 opened this issue 7 years ago • 3 comments

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

sj1370201 avatar May 08 '17 08:05 sj1370201

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

liudng avatar May 08 '17 13:05 liudng

我查到在这个方法里 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 avatar May 09 '17 03:05 sj1370201

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

sj1370201 avatar May 09 '17 03:05 sj1370201