make success explict field in result rather than relying on exitcode