fork
Learning to use In standard library of Rust there is no fork
function as it is considered
unsafe. For more info see
here
libc
crate provides the fork
function from C that is unsafe.
When it comes to exec
the Rust eqvivalent is std::process::Command
but in
the Rust way.