module Onceover::CodeQuality::Executor
Public Class Methods
run(*command)
click to toggle source
Capture all program output and check the exit status was zero
# File lib/onceover/codequality/executor.rb, line 6 def self.run(*command) output, s = Open3.capture2e(*command) ok = s.exitstatus.zero? return output, ok end