os/exec: incorrect "fatal error: all goroutines are asleep - deadlock!" #41271
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Playground
What did you expect to see?
I expect my program to not deadlock, but instead kill "sleep" and return from "Run" with an error. The unclosed STDIN should not prevent the program from returning.
Related or DUP?
Issue #23019 might be related to this?
What did you see instead?
The program deadlocks which is not what I expect.
The text was updated successfully, but these errors were encountered: