fn record_process_spawn_with( block_id: &str, path: SpawnPath, env: &HashMap<String, String>, has_row: impl FnOnce(&str) -> bool, )