You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoke bat on a directory and redirect stderr, e.g. bat /bin 2>/dev/null
What happens?
bat outputs to the terminal: [bat error]: '/bin' is a directory.
What did you expect to happen instead?
The STDERR should be redirected to /dev/null, thus no error output should be visible. Looks like bat writes that error to STDOUT instead. Other errors (like when the file does not exist) get written to STDERR, though.
What steps will reproduce the bug?
bat /bin 2>/dev/nullWhat happens?
bat outputs to the terminal:
[bat error]: '/bin' is a directory.What did you expect to happen instead?
The STDERR should be redirected to
/dev/null, thus no error output should be visible. Looks like bat writes that error to STDOUT instead. Other errors (like when the file does not exist) get written to STDERR, though.