pub fn record_flow( session: &str, cols: u32, rows: u32, ascii_out: &Path, working_dir: &Path, kill_on_detach: bool, ) -> i32