D
David Sokoloff
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.
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.