Class: Mutant::Isolation::Fork::Parent Private

Inherits:
Object
  • Object
show all
Includes:
Procto
Defined in:
lib/mutant/isolation/fork.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Pipe

Instance Method Summary collapse

Methods included from Procto

included

Instance Method Details

#callResult

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parent process

Returns:



76
77
78
79
80
81
82
83
84
85
# File 'lib/mutant/isolation/fork.rb', line 76

def call
  @exception     = nil
  @log_fragments = []
  @timeout       = nil
  @value         = nil
  @pid           = start_child

  read_child_result
  result
end