Method: ProcessExecuter::MonitoredPipe#thread

Defined in:
lib/process_executer/monitored_pipe.rb

#threadThread (readonly)

The thread that monitors the pipe

Examples:

require 'stringio'
data_collector = StringIO.new
pipe = ProcessExecuter::MonitoredPipe.new(data_collector)
pipe.thread #=> #<Thread:0x00007f8b1a0b0e00>

Returns:

  • (Thread)


208
209
210
# File 'lib/process_executer/monitored_pipe.rb', line 208

def thread
  @thread
end