Class: SafeExec::NoOutputExecutor

Inherits:
Executor show all
Defined in:
lib/safe_exec/no_output_executor.rb

Defined Under Namespace

Modules: NullIO

Constant Summary

Constants inherited from PipeExecutor

PipeExecutor::PAGE_SIZE

Instance Method Summary collapse

Methods inherited from PipeExecutor

#run, #timeout

Constructor Details

#initializeNoOutputExecutor

Returns a new instance of NoOutputExecutor.



15
16
17
18
19
# File 'lib/safe_exec/no_output_executor.rb', line 15

def initialize
  super
  @stdout = NullIO
  @stderr = NullIO
end