Class: Mutant::Isolation::Fork::Child Private
- Inherits:
-
Object
- Object
- Mutant::Isolation::Fork::Child
- Includes:
- Adamantium::Flat
- 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.
Parent
Instance Method Summary collapse
-
#call ⇒ undefined
private
Handle child process.
Instance Method Details
#call ⇒ undefined
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
146 147 148 149 150 151 |
# File 'lib/mutant/isolation/fork.rb', line 146 def call world.stderr.reopen(log_pipe) world.stdout.reopen(log_pipe) result_pipe.syswrite(world.marshal.dump(block.call)) result_pipe.close end |