PIPESTATUS instead of exit_code