class RSpec::Core::Runner

def self.invoke

Runs the suite of specs and exits the process with an appropriate exit code.
def self.invoke
  disable_autorun!
  status = run(ARGV, $stderr, $stdout).to_i
  exit(status) if status != 0
end