pub trait ConfigureCommand {
// Required methods
fn current_dir(&mut self, dir: &Path);
fn env(&mut self, name: &str, value: &OsStr);
}Expand description
Common denominator for types that can be used to configure commands for execution in the terminal.
Required Methods§
Sourcefn current_dir(&mut self, dir: &Path)
fn current_dir(&mut self, dir: &Path)
Sets the current directory.
Implementations on Foreign Types§
Source§impl ConfigureCommand for Command
impl ConfigureCommand for Command
Implementors§
impl ConfigureCommand for PtyCommand
Available on crate feature
portable-pty only.