Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/go/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Go 未定义:Windows上的syscall.Kill_Go_Signals_Sigkill - Fatal编程技术网

Go 未定义:Windows上的syscall.Kill

Go 未定义:Windows上的syscall.Kill,go,signals,sigkill,Go,Signals,Sigkill,我正在windows计算机上使用library,但尝试使用go get github.com/eaburns/Watch获取程序包时,出现以下错误: main.go:159: undefined: syscall.Kill main.go:169: undefined: syscall.Wait4 main.go:169: undefined: syscall.WNOHANG 为什么这种情况只发生在windows计算机上?如何修复此问题?程序包“github.com/eaburns/Watch

我正在windows计算机上使用library,但尝试使用go get github.com/eaburns/Watch获取程序包时,出现以下错误:

main.go:159: undefined: syscall.Kill
main.go:169: undefined: syscall.Wait4
main.go:169: undefined: syscall.WNOHANG

为什么这种情况只发生在windows计算机上?如何修复此问题?

程序包“github.com/eaburns/Watch”与windows不兼容。您知道有任何go程序包可以为windows执行相同的操作吗?不知道。如何组合类似的功能,然后自己运行这些命令?