my $output=`unzip -P $password $zipfile 2>&1`;
The return code ($?) probably indicate whether an error has occured or not.
Update: I had said $& where I meant to say $?. Fixed. Thanks shmem.
In reply to Re: Output capturing trouble
by ikegami
in thread Output capturing trouble
by Alien
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |