Sha256: 335344554a8e569d292c524b5e5f8ca7b64b8647399d1efde861ddafb2b61f32

Contents?: true

Size: 456 Bytes

Versions: 13

Compression:

Stored size: 456 Bytes

Contents

# frozen_string_literal: true

module Entangler
  module Executor
    class Slave < Base
      def initialize(base_dir, opts = {})
        super(base_dir, opts)
        $stdin.binmode
        $stdout.binmode
        $stdin.sync = true
        $stdout.sync = true

        @remote_reader = $stdin
        @remote_writer = $stdout
        $stderr.reopen(File.join(Entangler::Logger.log_file_path(base_dir, 'entangler.err')), 'w')
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
entangler-1.6.0 lib/entangler/executor/slave.rb
entangler-1.5.1 lib/entangler/executor/slave.rb
entangler-1.5.0 lib/entangler/executor/slave.rb
entangler-1.4.1 lib/entangler/executor/slave.rb
entangler-1.4.0 lib/entangler/executor/slave.rb
entangler-1.3.3 lib/entangler/executor/slave.rb
entangler-1.3.2 lib/entangler/executor/slave.rb
entangler-1.3.1 lib/entangler/executor/slave.rb
entangler-1.3.0 lib/entangler/executor/slave.rb
entangler-1.2.3 lib/entangler/executor/slave.rb
entangler-1.2.2 lib/entangler/executor/slave.rb
entangler-1.2.1 lib/entangler/executor/slave.rb
entangler-1.2.0 lib/entangler/executor/slave.rb