From: Brian Candler Date: 2009-06-02T05:48:43+09:00 Subject: Re: How can I get command's result code, which executing via ssh Robert Klemme wrote: > On 01.06.2009 14:48, Brian Candler wrote: > >> But in any case, I think it's not helpful to post unverified guesses >> about the behaviour of such a system. > > I am pretty sure that the ssh on at least one system we have at work > does not return the remote command's exit status. This is not a guess > but I cannot verify it at the moment now because I do not have access to > the system right now. You said: "SSH does not propagate the result of the remote process. You can find the details on SSH's manpage", but a check of the manpage says otherwise. Of course, perhaps older versions of ssh are different. However the system I checked on was Ubuntu Hardy, which isn't exactly bleeding edge. -- Posted via http://www.ruby-forum.com/.