run-external --redirect-stderr is confusing / there's no way to operate on stderr? #10944
Labels
needs-triage
An issue that hasn't had any proper look
redirection-pipe
All related to redirection to files or more complex pipelines with STDERR
Milestone
Describe the bug
the documentation here says
which lead me to believe this would work
if im understanding right,
--redirect stderr
does not mean "redirect stderr to the pipeline" (what i assumed to mean "the next command's stdin"), it currently means "redirect stderr to the stderr stream in the pipeline", which is ignored by most (all?) nu commands, and as far as i can tell from #4396, exists purely for use withcapture
or redirects.trying to redirect stderr to stdout as follows kind of works, but rather than going into nu's pipeline as expected, it is written to the terminal.
How to reproduce
Expected behavior
I expected nu to have an easy way to read and operate on stderr, and in general manipulate io streams freely, since it is common functionality in posix/bash/zsh etc.
Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: