Lines Matching defs:Command
219 pub struct Command { struct
220 std: StdCommand, argument
231 impl Command { argument
261 pub fn new<S: AsRef<OsStr>>(program: S) -> Command { in new()
297 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Command { in arg() method
396 pub fn env_remove<K: AsRef<OsStr>>(&mut self, key: K) -> &mut Command { in env_remove()
413 pub fn env_clear(&mut self) -> &mut Command { in env_clear()
440 pub fn current_dir<P: AsRef<Path>>(&mut self, dir: P) -> &mut Command { in current_dir()
464 pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdin()
488 pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdout()
512 pub fn stderr<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stderr()
543 pub fn kill_on_drop(&mut self, kill_on_drop: bool) -> &mut Command { in kill_on_drop() method
554 pub fn creation_flags(&mut self, flags: u32) -> &mut Command { in creation_flags()
563 pub fn uid(&mut self, id: u32) -> &mut Command { in uid()
571 pub fn gid(&mut self, id: u32) -> &mut Command { in gid()
804 impl From<StdCommand> for Command { implementation
805 fn from(std: StdCommand) -> Command { in from()