Class: SafeExec::Executor

Inherits:
PipeExecutor show all
Defined in:
lib/safe_exec/executor.rb

Direct Known Subclasses

NoOutputExecutor, StreamingExecutor

Constant Summary

Constants inherited from PipeExecutor

PipeExecutor::PAGE_SIZE

Instance Method Summary collapse

Methods inherited from PipeExecutor

#run, #timeout

Constructor Details

#initializeExecutor

Returns a new instance of Executor.



8
9
10
# File 'lib/safe_exec/executor.rb', line 8

def initialize
  super(StringIO.new.tap { |io| io.close }, $stdout, $stderr)
end