Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!aramis.rutgers.edu!paul.rutgers.edu!topaz.rutgers.edu!busboys.rutgers.edu!gaynor From: gaynor@busboys.rutgers.edu (Silver) Newsgroups: comp.unix.wizards Subject: Re: rsh does not pass back return code Keywords: rsh, return code Message-ID: Date: 6 Dec 89 11:26:13 GMT References: <256@paralogics.UUCP> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 9 shaw@paralogics.uucp writes: > [rsh's return code is simply indicates whether a connection could be > established or not?!] As far as I can tell, you are essentially correct. Tremendous pain in the ass. You really have to bend over backwards to get the return value - perhaps put it on the last line of stdout or stderr, and take it from there locally. Regards, [Ag]