Sha256: 4165f62ee81c1bc2414ba6dc4f850917c80d9d5f11966b9c316b1a7272676502

Contents?: true

Size: 249 Bytes

Versions: 12

Compression:

Stored size: 249 Bytes

Contents

module Cmd


  def self.run(cmd)
    require 'open3'
    Rails.logger.debug "DB8 Running\n#{cmd[0..180]}"
    stdout, stderr, status = Open3.capture3(cmd)
    Rails.logger.debug "DB8\nstatus:#{status}\nstdout:#{stdout}\nstderr:#{stderr}"
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
meroku-2.0.22 frontend/app/lib/cmd.rb
meroku-2.0.21 frontend/app/lib/cmd.rb
meroku-2.0.20 frontend/app/lib/cmd.rb
meroku-2.0.19 frontend/app/lib/cmd.rb
meroku-2.0.18 frontend/app/lib/cmd.rb
meroku-2.0.17 frontend/app/lib/cmd.rb
meroku-2.0.16 frontend/app/lib/cmd.rb
meroku-2.0.14 frontend/app/lib/cmd.rb
meroku-2.0.13 frontend/app/lib/cmd.rb
meroku-2.0.11 frontend/app/lib/cmd.rb
meroku-2.0.10 frontend/app/lib/cmd.rb
meroku-2.0.9 frontend/app/lib/cmd.rb