in reply to NET:SSH2 exec syntax usage
- Your zcat command is encased in single-quotes, which means that variable substitution will not occur.
- It is not totally clear from the documentation, but I am pretty sure that setting blocking to 0 means non-blocking. Since the ls probably returns right away, this makes no difference in the first case. zcat, however, can take a while on files of non-trivial size. Since you are not checking for EAGAIN, this could give you a problem
fnord
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: NET:SSH2 exec syntax usage
by SitrucHtims (Novice) on Apr 15, 2011 at 23:46 UTC | |
by ZigZaggin (Initiate) on Apr 18, 2011 at 17:53 UTC | |
by SitrucHtims (Novice) on Apr 22, 2011 at 01:07 UTC |
In Section
Seekers of Perl Wisdom