From: N Okia Date: 2006-08-01T12:25:02+09:00 Subject: Re: Ruby hangs when executing a another program Use fork and exec: prc = fork if prc puts "This is the parent process, child PID is: #{prc}" else puts "child process will exec our shell command" exec("ssh -l root localhost /Library/FrontBase/bin/FBExec") puts "This line will never be seen because exec doesn't return." end puts "Parent continues here"