pub trait CapStdExtCommandExt {
    fn take_fd_n(&mut self, fd: Arc<OwnedFd>, target: i32) -> &mut Self;
    fn cwd_dir(&mut self, dir: Dir) -> &mut Self;
}
Expand description

Extension trait for std::process::Command.

Required Methods

Pass a file descriptor into the target process.

Use the given directory as the current working directory for the process.

Implementations on Foreign Types

Implementors