Function mpdpopm::commands::spawn

source ยท
pub fn spawn<S, I>(
    cmd: S,
    args: I,
    params: &HashMap<String, String>
) -> Result<PinnedCmdFut, Error>
where I: Iterator<Item = String>, S: AsRef<OsStr> + Debug,
Expand description

Start process cmd with args I & return; the results will be available asynchronously

If cmd is not an absolute path, PATH will be searched in an OS-defined way.