Struct std::process::Command [] [src]

pub struct Command {
    pub path: String,
    pub args: Vec<String>,
}

Fields

path
args

Methods

impl Command

fn new(path: &str) -> Command

fn arg(&mut self, arg: &str) -> &mut Command

fn spawn(&mut self) -> Result<Child>