From: Chandan Bansal Date: 2011-04-07T20:49:06+09:00 Subject: Re: capture the output of a grandchild thanks for the reply ruby -e 'system("/path/to/prog")' >cap.out 2>cap.err i tried this and yes the output from the grandchild was there in cap.out -- Posted via http://www.ruby-forum.com/.