Run cancellable pdfTeX matching in native frontends

This commit is contained in:
gloamxun committed 2026-11-20 16:43:48 +08:00
1 parent 091458d329
commit 6e573dc1ce
21 files changed
+665 -9

No files matched your search

+3
View File
@@ -169,6 +169,9 @@ struct Queue {
}
fn main() -> Result<(), Box<dyn std::error::Error>> {
if let Some(status) = texrra_engine::native::dispatch_pdf_regex_worker() {
std::process::exit(status);
}
let mut args = std::env::args_os().skip(1).map(PathBuf::from);
let usage = "native_editor SOURCE FORMAT FORMAT_RESOURCES NEW_RUN_DIR [PORT] [FILE ...]";
let source = args.next().ok_or(usage)?.canonicalize()?;