Function dup2_stderr
fn dup2_stderr<Fd: std::os::fd::AsFd>(fd: Fd) -> Result<()>
Duplicate fd with Stderr, i.e., Stderr redirection.
Examples
See the example of dup2_stdout()
dup2_stderrfn dup2_stderr<Fd: std::os::fd::AsFd>(fd: Fd) -> Result<()>
Duplicate fd with Stderr, i.e., Stderr redirection.
See the example of dup2_stdout()