Skip to main content

spawn

Function spawn 

Source
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.