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
run executable binary and receive the message after execution from stdout on Server2008.
What did you expect to see?
excpect output: SUCCESS=0 or FAILED=1 (user-defined)
What did you see instead?
it runs normally on Win7 & Win10.
it runs exec.command() normally on Server 2008 (64bit) .
but i can not receive the return message from stdout.
otherwise,it can normally print the message when using the CMD
I have try to bind a bytes.Buffer to the stdout,and call Run() .But it still nothing to receive.
The text was updated successfully, but these errors were encountered:
odeke-em
changed the title
os/exec: exec.command().output() can not receive contents from stdout on Server 2008
os/exec: CombinedOutput() cannot receive contents from stdout on Server 2008
Jan 10, 2018
What version of Go are you using (
go version
)?go version go1.8 windows/amd64
What did you do?
run executable binary and receive the message after execution from stdout on Server2008.
What did you expect to see?
excpect output: SUCCESS=0 or FAILED=1 (user-defined)
What did you see instead?
it runs normally on Win7 & Win10.

it runs exec.command() normally on Server 2008 (64bit) .
but i can not receive the return message from stdout.
otherwise,it can normally print the message when using the CMD
I have try to bind a bytes.Buffer to the stdout,and call Run() .But it still nothing to receive.
test code :
print log:
run on win7 & win10
run on Server 2008
The text was updated successfully, but these errors were encountered: