Support null exit code