-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Sync on linux: /dev/stdout: invalid argument #772
Comments
This is related to #370 -- the console driver does not support We don't want to ignore all errors for stdout/stderr, since they may be attached to a file which does support Detecting terminals won't work because it can happen in other cases too (e.g., pipes). Perhaps we can ignore |
Ok, so it is the same bug. This can probably be closed then. Maybe I'll just ignore that exact os.PathError (for /dev/std*) in my code for now. |
Closing as suggested, but open to ideas around ignoring |
I'm seeing this every time I call .Sync() on linux (Ubuntu 18.04.3) when writing to stdout or stderr. Specifically, I'm getting an *os.PathError with the message "sync /dev/stdout: invalid argument". Should I open a new bug?
Looks a lot like #328, but I don't see a mention of a PathError there, so I opened a new bug.
The text was updated successfully, but these errors were encountered: