我正在试着向Go中的tor发送HUP信号。command := exec.Command("pidof tor | xargs kill -HUP")我已经尝试了很多版本(带/不带args,带/不带Dir,...)它总是返回相同的错误:
2017/06/27 13:36:31 There was an error running HUP execHUP <
我不确定如何在与构建相同的环境中测试它,因为错误来自Google的Container Registrystarting build "73f85b4dgcp-runtimes/go1-builder@sha256:c62ac3fbec31ddec70601d6c5b44d07063bcff6a823bdcf5e0bbaa9d3799d1db
Step #0: exec: "gcc": executable file not found in $PAT