class Shellany::Sheller

def run

Returns:
  • (Boolean) - whether or not the command succeeded.
def run
  unless ran?
    status, output, errors = self.class._system_with_capture(*@command)
    @ran = true
    @stdout = output
    @stderr = errors
    @status = status
  end
  ok?
end