Function exec_captured

Source
pub fn exec_captured<C, I, A>(
    command: C,
    args: I,
) -> AnyResult<ExecCommandOutput>
where C: AsRef<str>, I: IntoIterator<Item = A>, A: AsRef<str>,
Expand description

Execute a command on the host and capture its output (pipe).