From: Hamlat Ameziane Date: 2008-07-17T16:38:29+09:00 Subject: continue the execution of a ruby script after a shell comand Hi, I have a little problem,I will be grateful if someone can help me. So I have this script : puts '*** Beginning of the script ***' path = 'C:\another_script.rb' exec 'ruby '+path puts '*** End of the script ***' And I have the following result : puts '*** Beginning of the script ***' ## execution of script C:\another_script.rb But Ruby dont print the last line : *** End of the script *** I have tried this : t = Thread.new {exec 'ruby '+path} Thread.pass (t) But I have the same result !!!! -- Posted via http://www.ruby-forum.com/.