From: qubert@... (Qubert) Date: 2003-12-09T02:32:03+09:00 Subject: Joining scripts? I have been working on a couple of Ruby wrappers for some fortran programs. They are running a bit long (300+ lines), however Ruby has been excellent in handling them. My concerns are they are a bit too long to join together in one program, but they will often run together. I want the second script to be run independently, but if the first one is run, I want the second to be called from within the first. Is the best way to accomplish this to write a line in the first script: `/usr/local/bin/secondscript.rb` This doesn't seem to be the Ruby way since it relies on the shell, plus I would like to send some global variables across if continued from the first script. Any advice would be appreciated. Chris