pub async fn spawn(spec: &ProcessSpec) -> Result<OsProcess>Expand description
Starts a task process.
§Errors
Returns an I/O error if the log file can’t be opened or the program can’t be started.
pub async fn spawn(spec: &ProcessSpec) -> Result<OsProcess>Starts a task process.
Returns an I/O error if the log file can’t be opened or the program can’t be started.