Skip to main content

spawn_elf_with_args

Function spawn_elf_with_args 

Source
pub(super) fn spawn_elf_with_args(
    bin_path: &str,
    task_name: &'static str,
    args: &[String],
) -> Result<(), ShellError>
Expand description

Spawn a userspace ELF binary from /initfs/bin/<name> with the given shell arguments as argv[1..]. Returns immediately after scheduling.