1
0
Fork 0

Capture zip downloader output, fixes #533

pull/534/head
Jordi Boggiano 2012-04-06 13:29:06 +02:00
parent 6f8031ac90
commit bfd48b06bd
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class ZipDownloader extends ArchiveDownloader
if (!class_exists('ZipArchive')) { if (!class_exists('ZipArchive')) {
// try to use unzip on *nix // try to use unzip on *nix
if (!defined('PHP_WINDOWS_VERSION_BUILD')) { if (!defined('PHP_WINDOWS_VERSION_BUILD')) {
$result = $this->process->execute('unzip '.escapeshellarg($file).' -d '.escapeshellarg($path)); $result = $this->process->execute('unzip '.escapeshellarg($file).' -d '.escapeshellarg($path), $ignoredOutput);
if (0 == $result) { if (0 == $result) {
return; return;
} }