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 CoreError if any underlying syscall (spawn, pipe, epoll) fails.