We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown
go env
Ran the example code here: https://pkg.go.dev/os/exec#example-Cmd.StdoutPipe
Output: fatal error: all goroutines are asleep - deadlock! goroutine 1 [IO wait]: internal/poll.runtime_pollWait(0x7ee60f415680, 0x72) /usr/local/go-faketime/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc000078240?, 0xc00010e000?, 0x1) /usr/local/go-faketime/src/internal/poll/fd_poll_runtime.go:84 +0x27 internal/poll.(*pollDesc).waitRead(...) /usr/local/go-faketime/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc000078240, {0xc00010e000, 0x200, 0x200}) /usr/local/go-faketime/src/internal/poll/fd_unix.go:165 +0x27a os.(*File).read(...) /usr/local/go-faketime/src/os/file_posix.go:29 os.(*File).Read(0xc00004c048, {0xc00010e000?, 0x28?, 0x512380?}) /usr/local/go-faketime/src/os/file.go:124 +0x52 encoding/json.(*Decoder).refill(0xc00010c000) /usr/local/go-faketime/src/encoding/json/stream.go:165 +0x188 encoding/json.(*Decoder).readValue(0xc00010c000) /usr/local/go-faketime/src/encoding/json/stream.go:140 +0x85 encoding/json.(*Decoder).Decode(0xc00010c000, {0x4efe60, 0xc000010030}) /usr/local/go-faketime/src/encoding/json/stream.go:63 +0x75 main.main() /tmp/sandbox2132264063/prog.go:23 +0x193
Program output instead of the fatal error.
The text was updated successfully, but these errors were encountered:
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Sorry, something went wrong.
Duplicate of #41202
No branches or pull requests
Go version
unknown
Output of
go env
in your module/workspace:What did you do?
Ran the example code here: https://pkg.go.dev/os/exec#example-Cmd.StdoutPipe
What did you see happen?
What did you expect to see?
Program output instead of the fatal error.
The text was updated successfully, but these errors were encountered: