message: Add `fn args_replace` and `fn get_program` to `ProcessBuilder`
diff: @@ -45,6 +45,13 @@ impl ProcessBuilder {
  self
  }
  + pub fn args_replace<T: AsRef<OsStr>>(&mut self, arguments: &[T]) -> &mut ProcessBuilder {
  + self.args = arguments.iter().map(|t| {
  + t.as_ref().to_os_string()
  + }).collect();
  + self
  + }
  +
  pub fn cwd<T: AsRef<OsStr>>(&mut self, path: T) -> &mut ProcessBuilder {
  self.cwd = Some(path.as_ref().to_os_string());
  self
  @@ -61,6 +68,10 @@ impl ProcessBuilder {
  self
  }
  + pub fn get_program(&self) -> &OsString {
  + &self.program
  + }
  +
  pub fn get_args(&self) -> &[OsString] {
  &self.args
  }
  