From: 7stud -- Date: 2008-03-27T08:03:18+09:00 Subject: Re: fork Joey Marino wrote: > I want to fork a child process and use instantiated objects from the > parent > process. Is this possible? > > obj = Object.new > > fork do > doSomething(obj) > end class Dog def greet puts 'hello' end end d = Dog.new fork do d.greet end Process.wait --output:-- hello -- Posted via http://www.ruby-forum.com/.