Sha256: 8d69cb940f9d6e0de51f9cabf93b8c79ee24f488828e4426aad5f99731161c95
Contents?: true
Size: 357 Bytes
Versions: 3
Compression:
Stored size: 357 Bytes
Contents
module Methadone module ExecutionStrategy # <b>Methadone Internal - treat as private</b> # # Implementation for modern Rubies that uses the built-in Open3 library class Open_3 < MRI def run_command(command) stdout,stderr,status = Open3.capture3(command) [stdout.chomp,stderr.chomp,status] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
methadone-1.1.0 | lib/methadone/execution_strategy/open_3.rb |
methadone-1.0.0 | lib/methadone/execution_strategy/open_3.rb |
methadone-1.0.0.rc6 | lib/methadone/execution_strategy/open_3.rb |