Skip to main content

prepare_std_retry

Function prepare_std_retry 

Source
pub fn prepare_std_retry(command: &mut Command, error: &Error) -> bool
Expand description

Prepare a caller-built command to be spawned again as an APE image.

Returns true when error is the kernel refusing an APE image and the command now routes through execvp, whose ENOEXEC rule runs the image’s prologue with the host shell; spawn it once more. Every setting the caller made is kept. For the direct-loader route, build the command with command instead.