When launching a job to another host via remote shell the exit code
returned is that of the success or failure of the rsh (or remsh) launch,
not the program that was run via the remote shell.
Does anybody know some cleaver method to still get the executed
program's exit code nevertheless? So far I could only think of passing
it back through a file but that does not look very elegant to me.
This must be such a common problem that somebody probably have already
figured out a way.
Thanks for any tips,
REMINDER: Please correct my e-mail address in any personal reply by
removing the "gotyou." part from it. I have altered the address
in the hope of defeating address grabbing SPAM software. Thanks, JP