pub fn exec_process(
path: &str,
argv: &[&str],
envp: &[&str],
) -> Result<(), KernelError>Expand description
Execute a new program in current process
Replaces the current process image with a new program. This function does not return on success - the new program begins execution.
Supports shebang (#!) scripts: if the file starts with #!, the
interpreter specified on the shebang line is executed instead, with the
script path prepended to the argument list. Also supports PATH search –
if the path does not start with /, standard directories are searched.