pub fn resolve_par_term_binary(
explicit: Option<&Path>,
) -> Result<PathBuf, Box<dyn Error + Send + Sync>>Expand description
Resolve the par-term binary to use for hosting the MCP server.
Resolution order:
explicit— if provided, return it immediately (no existence check).- Same directory as the current executable — used in bundled/installed layouts.
- System
PATHlookup viaresolve_binary_in_path.
Returns an error if none of the above succeed.