1. Make sure you have an RSH.EXE in your path. Better, use a full pathname.
2. There's a chance you're bitten by shell quoting. Try using the LIST variant of system:
system ($RSH, qw/hostname -l username -n/, "touch test") == 0 or die "system: $?";
3. Check the return value of system!
In reply to Re: system call works on *nix not NT
by gaal
in thread system call works on *nix not NT
by Unholy One
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |