Skip to content
New issue

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

"write /dev/stdin: Access is denied." in window7 #5

Open
fananchong opened this issue Aug 14, 2017 · 1 comment
Open

"write /dev/stdin: Access is denied." in window7 #5

fananchong opened this issue Aug 14, 2017 · 1 comment

Comments

@fananchong
Copy link

No description provided.

@speters
Copy link

speters commented Oct 22, 2018

I experienced a similar problem when piping in the shell:

$ echo sadasdasd | ./echo
panic: write /dev/stdin: bad file descriptor

goroutine 1 [running]:
main.main()

This seems related to uniline.go#L81:
s.output = input.(io.Writer) // does not panic, since *os.File implements io.Writer

Is this a typo (should read output.(io.Writer))?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants