| 6 | |
| 7 | #[derive(Debug)] |
| 8 | pub struct CommandBuilder { |
| 9 | program: OsString, |
| 10 | argv: Vec<OsString>, |
| 11 | envs: BTreeMap<OsString, OsString>, |
| 12 | cwd: Option<OsString>, |
| 13 | } |
| 14 | |
| 15 | impl CommandBuilder { |
| 16 | pub fn new<S: AsRef<OsStr>>(program: S) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected