Function fork

Source
pub fn fork() -> Result<Option<Child>>
Expand description

Fork the current process.

The forking process must be single-threaded. Otherwise, this call will fail.