# ForkAndReturn 0.1.1

**URL:** <https://www.ruby-forum.com/t/forkandreturn-0-1-1/143579>\
**Category:** Ruby\
**Created:** [July 20, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/forkandreturn-0-1-1/143579 "2008-07-20T20:17:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikveen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@erikveen](https://www.ruby-forum.com/u/erikveen)\
**Post date:** [July 20, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/forkandreturn-0-1-1/143579/1 "2008-07-20T20:17:31Z")

</div>

ForkAndReturn 0.1.1 is released.

ForkAndReturn implements a couple of methods that simplify  
running a block of code in a subprocess. The result (Ruby  
object or exception) of the block will be available in the  
parent process.

ForkAndReturn also enriches Enumerable with a couple of methods  
(e.g. Enumerable#concurrent\_collect()), in order to simplify  
the concurrent execution of a block for a collection of objects.

RDoc: [http://www.erikveen.dds.nl/forkandreturn/doc/index.html](http://www.erikveen.dds.nl/forkandreturn/doc/index.html)  
Download: [http://rubyforge.org/projects/forkandreturn/index.html](http://rubyforge.org/projects/forkandreturn/index.html)

gegroet,  
Erik V. - [http://www.erikveen.dds.nl/](http://www.erikveen.dds.nl/)

* * *

0.1.1 (19-07-2008)

- Added example.txt.

- at\_exit blocks defined in the child itself will be executed  
in the child, whereas at\_exit blocks defined in the parent  
won‘t be executed in the child. (In the previous version,  
the at\_exit blocks defined in the child weren‘t be executed  
at all.)

- Added File#chmod(0600), so the temporary file with the  
intermediate results can‘t be read by other people.
