Skip to main content

interpret_for_ui_with_args

Function interpret_for_ui_with_args 

Source
pub async fn interpret_for_ui_with_args(
    input: &str,
    program_args: &[String],
) -> InterpreterResult
Expand description

Like interpret_for_ui, but supplies the program’s argument vector to the args() system native. program_args is the full argv (index 0 is the program name), matching the compiled binary’s env::args().