> If you just want to run them one at a time and wait, you can do this;
> 
> trya.rb
> puts "a"
> sleep 3
> system("ruby tryb.rb")
> system("ruby tryc.rb")
> sleep 3
> 
> tryb.rb
> puts "b"
> sleep 3
> 
> tryc.rb
> puts "c"

thank you!
that was easy. so, according to
http://www.ruby-doc.org/docs/ProgrammingRuby/html/ref_m_kernel.html#Kernel.system
when I use system(" ") it has the same effect as if I typed whatever is 
in the quotes into the terminal, right?

I could also use load("sub1.rb") instead of system("ruby sub1.rb") 
correct?

Is there a way I can propogate the variables in the loaded files 
('sub1.rb',sub2.rb') to the loading file ('main.rb')?

-- 
Posted via http://www.ruby-forum.com/.