pub fn dispatch( transport: &dyn Transport, host: &Host, cmd: &str, cwd: Option<&str>, max_secs: Option<u64>, ) -> Result<JobId>