You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output is:
RunExecCommand
docker error: exit status 1
RunCPopen
hello
I expect “exec.Command("docker", "run ubuntu:14.04 echo hello").Output()" output is "hello", but it is "docker error: exit status 1". So i write c function "executeCmd" to test it, and it works fine.
My question is why exec.Command is incorrect?
The text was updated successfully, but these errors were encountered:
The output is:
RunExecCommand
docker error: exit status 1
RunCPopen
hello
I expect “exec.Command("docker", "run ubuntu:14.04 echo hello").Output()" output is "hello", but it is "docker error: exit status 1". So i write c function "executeCmd" to test it, and it works fine.
My question is why exec.Command is incorrect?
The text was updated successfully, but these errors were encountered: