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