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
go version
$ go version go version devel +master Thu Nov 21 01:22:38 EST 2019 plan9/386
Run this program:
package main import ( "log" "os" "os/exec" "strings" ) func main() { cmd := exec.Command("date") cmd.Stdin = strings.NewReader("hello\n") cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr if err := cmd.Run(); err != nil { log.Fatalf("Run failed: %v", err) } }
No error
cpu% go run main.go Thu Nov 21 12:33:54 EST 2019 2019/11/21 12:33:54 Run failed: write |1: i/o on hungup channel exit status: 'main 100206: 1'
Note: This issue is causing some go/packages tests to fail. See https://build.golang.org/log/f8afda4bf9009c118c39705ccf38712f705ab249
go/packages
I propose ignoring this error, similar to how EPIPE is currently being ignored in unix.
EPIPE
@gopherbot Please add labels OS-Plan9, NeedsFix
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/208223 mentions this issue: os/exec: ignore hungup error while copying stdin on Plan 9
os/exec: ignore hungup error while copying stdin on Plan 9
Sorry, something went wrong.
a3dc6da
Successfully merging a pull request may close this issue.
What version of Go are you using (
go version
)?What did you do?
Run this program:
What did you expect to see?
No error
What did you see instead?
Note: This issue is causing some
go/packages
tests to fail. See https://build.golang.org/log/f8afda4bf9009c118c39705ccf38712f705ab249I propose ignoring this error, similar to how
EPIPE
is currently being ignored in unix.@gopherbot Please add labels OS-Plan9, NeedsFix
The text was updated successfully, but these errors were encountered: