From: David Sokoloff Date: 2009-03-09T03:43:19+09:00 Subject: Script Won't Exit After Call to System I have a small script (see http://pastie.org/411010) that will check to see if my ssh tunnel has died, and if so, will create a new one. It works, except that if it does need to re-open a tunnel (through Kernel's 'system' call), the script never exits. Maybe it isn't a big deal (say so if you think so), but I'm not sure why the script doesn't exit. It *does* re-open the tunnel successfully. Furthermore, if you execute from the command line the same ssh command I'm executing through Ruby's 'system' call, the tunnel does successfully go to the background. Thanks for any insight. -- Posted via http://www.ruby-forum.com/.