Lines Matching defs:Command
275 pub struct Command { struct
276 std: StdCommand, argument
287 impl Command { implementation
318 pub fn new<S: AsRef<OsStr>>(program: S) -> Command { in new()
368 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Command { in arg() method
490 pub fn env_remove<K: AsRef<OsStr>>(&mut self, key: K) -> &mut Command { in env_remove()
510 pub fn env_clear(&mut self) -> &mut Command { in env_clear()
540 pub fn current_dir<P: AsRef<Path>>(&mut self, dir: P) -> &mut Command { in current_dir()
567 pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdin()
594 pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdout()
621 pub fn stderr<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stderr()
652 pub fn kill_on_drop(&mut self, kill_on_drop: bool) -> &mut Command { in kill_on_drop() method
674 pub fn uid(&mut self, id: u32) -> &mut Command { in uid()
683 pub fn gid(&mut self, id: u32) -> &mut Command { in gid()
769 pub fn process_group(&mut self, pgroup: i32) -> &mut Command { in process_group()
964 impl From<StdCommand> for Command { implementation
965 fn from(std: StdCommand) -> Command { in from()