From: Brandon Casci Date: 2007-04-05T13:03:41+09:00 Subject: Forking and copying variables I have a script that sets a few variables and then forks. Each fork executes the script from top to bottom. Is there any way for the forks to get a copy of all the variables set before the fork, because each fork thinks it;s running for the first time (and ya I see why because a fork is a copy of the current process)? Maybe forking isn't what I'm looking for, but the performance is so much better than threading for this task. Thanks for reading. -- Posted via http://www.ruby-forum.com/.