pub fn exec_replace(bin: &str, args: &[OsString]) -> ErrorExpand description
Replace the current process with the given binary and arguments.
Uses CommandExt::exec() so the shell gets a real TTY.
On success this function never returns; on failure it returns an error.