[−][src]Function user::syscall::exec
pub fn exec(path: &str, args: &[&str]) -> !
Replace current process image with the new one in the filesystem.
This function will not return.
Examples
use user::syscall::exec; exec("/init", &[]);