pub fn is_cargo_command(program: &str) -> bool
Check if a command uses cargo, which requires exclusive file lock access