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 ends its stderr with the status report, or with the setup-failure line when it could not start, so the parent never mistakes a broken worker for a clean one.