----- Original Message -----
From: "SelfSimilar" <[EMAIL PROTECTED]>
.
.
> $chan->write("ls\n");
If the "ls" command throws an error, you won't get to see what the error is.
(You'll simply get no output.) Better to write:
$chan->write("ls 2>&1\n");
That way, any error message will end up in the buffer, and you'll get to see
it.
For the same reason, the same change should be made to the alternative code
that I provided earlier.
Cheers,
Rob
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs