Method: Mutant::Isolation::Fork::Child#call

Defined in:
lib/mutant/isolation/fork.rb

#callundefined

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.

Handle child process

Returns:

  • (undefined)


168
169
170
171
172
173
# File 'lib/mutant/isolation/fork.rb', line 168

def call
  world.stderr.reopen(log_pipe)
  world.stdout.reopen(log_pipe)
  result_pipe.syswrite(world.marshal.dump(block.call))
  result_pipe.close
end