pub fn read_run_script_file(
path: &Path,
max_bytes: u64,
) -> Result<Vec<u8>, ScriptLoadError>Expand description
Read a real filesystem path for run, applying size and text checks.
Size is checked via metadata before any body read so oversized files never enter memory.