Thank you for your thoughts:
I have now added the full path to rsh as suggested. It does not appear to have changed anything.
I'm still looking at the shell quoting idea.
Yes, I can run the rsh stuff from the command line on the w2k box just fine. Its only when I try and do it from the perl that things go wrong! | [reply] |
You should do what gaal says, and check the return value from system, and check the $? variable (see perlvar, and use the $! variable if system() doesn't return 0. Also, you might want to consider using the Net::Rsh or Net::SSH modules from
CPAN.
| [reply] |