Capture zip downloader output, fixes #533

main
Jordi Boggiano 12 years ago
parent 6f8031ac90
commit bfd48b06bd

@ -35,7 +35,7 @@ class ZipDownloader extends ArchiveDownloader
if (!class_exists('ZipArchive')) {
// try to use unzip on *nix
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) {
return;
}

Loading…
Cancel
Save