docs: def runRemoteCommand(self, cmd, args, abandonOnFailure=True,
                           evaluateCommand=lambda cmd: cmd.didFail()):
          """generic RemoteCommand boilerplate"""
          cmd = remotecommand.RemoteCommand(cmd, args)
          if hasattr(self, "rc_log"):
              cmd.useLog(self.rc_log, False)
          d = self.runCommand(cmd)
  
          def commandComplete(cmd):
              if abandonOnFailure and cmd.didFail():
                  raise buildstep.BuildStepFailed()
              return evaluateCommand(cmd)
  
          d.addCallback(lambda res: commandComplete(cmd))
          return d