pub fn run(root: &Path, command: &str, timeout: Duration) -> Option<(i64, u64)>Expand description
Run command in root: Some((exit_code, duration_ms)), -1 for a timeout or a check that
could not start. None: not run, the node has no --run-as user (a check is a command from
core and never runs as the node’s own user).