Skip to main content

worker_main

Function worker_main 

Source
pub fn worker_main(manifest_path: &str) -> i32
Expand description

Entry point of the hidden worker mode (LATEXML_RENDER_WORKER=<manifest>), dispatched from the binary’s main before any CLI handling. Renders the manifest’s page range and ALWAYS ends its stderr with the status report — even when the manifest cannot be read — so the parent never mistakes a broken worker for a clean one.