Skip to main content

run_with

Function run_with 

Source
pub fn run_with(args: Vec<String>, launcher: &Launcher<'_>) -> u8
Expand description

run for an embedder: the flags after the command, how the server should name itself; returns the process exit status (0, 1 on a serving error, 2 on a usage error). Call it before other threads read the environment — it defaults DOCLING_RS_NO_ARENA.