Skip to main content

run_from_storage_path

Function run_from_storage_path 

Source
pub async fn run_from_storage_path(
    machine: &mut Machine,
    console: Rc<RefCell<dyn Console>>,
    storage: Rc<RefCell<Storage>>,
    program: Rc<RefCell<dyn Program>>,
    path: &str,
    will_run_repl: bool,
) -> Result<i32>
Expand description

Loads the program given by path from storage and executes it on the machine.