Lines Matching defs:Command
221 pub struct Command { struct
222 std: StdCommand, argument
233 impl Command { argument
263 pub fn new<S: AsRef<OsStr>>(program: S) -> Command { in new()
299 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut Command { in arg() method
398 pub fn env_remove<K: AsRef<OsStr>>(&mut self, key: K) -> &mut Command { in env_remove()
415 pub fn env_clear(&mut self) -> &mut Command { in env_clear()
442 pub fn current_dir<P: AsRef<Path>>(&mut self, dir: P) -> &mut Command { in current_dir()
466 pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdin()
490 pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stdout()
514 pub fn stderr<T: Into<Stdio>>(&mut self, cfg: T) -> &mut Command { in stderr()
545 pub fn kill_on_drop(&mut self, kill_on_drop: bool) -> &mut Command { in kill_on_drop() method
557 pub fn creation_flags(&mut self, flags: u32) -> &mut Command { in creation_flags()
567 pub fn uid(&mut self, id: u32) -> &mut Command { in uid()
576 pub fn gid(&mut self, id: u32) -> &mut Command { in gid()
824 impl From<StdCommand> for Command { implementation
825 fn from(std: StdCommand) -> Command { in from()