Skip to main content

spawn

Function spawn 

Source
pub fn spawn(opts: SpawnOptions) -> Result<Output, CoreError>
Expand description

Spawn a process and block until completion or timeout.

This is the primary high-level interface for process execution. It handles the full lifecycle, including I/O multiplexing and signal management.

ยงErrors

Returns the same errors as spawn_start, plus any I/O or reactor errors encountered during the wait loop.