Sha256: 05c7b166ceb1cc4ba003caa9895ea3b563bcf975047911cf36c31b0b774726e4

Contents?: true

Size: 522 Bytes

Versions: 5

Compression:

Stored size: 522 Bytes

Contents

module Aruba
  module Processes
    class BasicProcess
      def initialize(cmd, exit_timeout, io_wait, working_directory)
        @working_directory = working_directory
      end

      # Output stderr and stdout
      def output
        stdout + stderr
      end

      # Was process already stopped
      def stopped?
        @stopped == true
      end

      # Hook which is run before command is run
      def before_run; end

      # Hook which is run after command is run
      def after_run; end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aruba-0.7.4 lib/aruba/processes/basic_process.rb
aruba-0.7.3 lib/aruba/processes/basic_process.rb
aruba-0.7.2 lib/aruba/processes/basic_process.rb
aruba-0.7.1 lib/aruba/processes/basic_process.rb
aruba-0.7.0 lib/aruba/processes/basic_process.rb