Skip to main content

resolve_command

Function resolve_command 

Source
fn resolve_command(
    nested: &View,
    pid: u32,
    config: &Config,
    tracee: &Tracee<'_>,
    cwd: &[u8],
) -> Result<Vec<u8>, i32>
Expand description

The guest path of the nested command: as given when it has a slash (relative to the nested working directory), else found in PATH.

ยงErrors

ENOENT when nothing by that name is executable, or the errno of what was found.