Skip to main content

run_extracted_box

Function run_extracted_box 

Source
pub fn run_extracted_box(
    prepared: &PreparedBox,
    options: &RunOptions<'_>,
) -> Result<BoxRunResult>
Expand description

Executes a prepared box with its own interpreter and returns its terminal result.

ยงErrors

When the box declares no execution entry point, the host cannot run its target, the root is no longer the one the receipt was minted for, a required file or asset is missing, or the interpreter cannot be started.