class FluentMigratorCommandRunner::Runner
Public Class Methods
execute(command)
click to toggle source
# File lib/fluent-migrator-command-runner/runner.rb, line 4 def self.execute(command) Kernel.system(command) raise 'Fluent Migrator Failed' unless fluent_migrator_run_succeeded? end
Private Class Methods
fluent_migrator_run_succeeded?()
click to toggle source
# File lib/fluent-migrator-command-runner/runner.rb, line 11 def self.fluent_migrator_run_succeeded? $?.exitstatus == 0 end