Sha256: c5df41d38a47098cc8bdd39170818cab77113f0071171ad3a7443686544dfea6

Contents?: true

Size: 246 Bytes

Versions: 73

Compression:

Stored size: 246 Bytes

Contents

# encoding: utf-8
module Mutx
  module Support
    module Console

      # Executes system command
      def self.execute command
        `#{command}`
        # res = IO.popen("#{command}")
        # res.readlines.join
      end
    end
  end
end

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
mutx-0.1.59 lib/mutx/support/console.rb
mutx-0.1.58 lib/mutx/support/console.rb
mutx-0.1.57 lib/mutx/support/console.rb
mutx-0.1.56 lib/mutx/support/console.rb
mutx-0.1.55 lib/mutx/support/console.rb
mutx-0.1.54 lib/mutx/support/console.rb
mutx-0.1.53 lib/mutx/support/console.rb
mutx-0.1.52 lib/mutx/support/console.rb
mutx-0.1.51 lib/mutx/support/console.rb
mutx-0.1.50 lib/mutx/support/console.rb
mutx-0.1.49 lib/mutx/support/console.rb
mutx-0.1.48 lib/mutx/support/console.rb
mutx-0.1.47 lib/mutx/support/console.rb
mutx-0.1.46 lib/mutx/support/console.rb
mutx-0.1.45 lib/mutx/support/console.rb
mutx-0.1.44 lib/mutx/support/console.rb
mutx-0.1.43 lib/mutx/support/console.rb
mutx-0.1.42 lib/mutx/support/console.rb
mutx-0.1.40 lib/mutx/support/console.rb
mutx-0.1.39 lib/mutx/support/console.rb