Capture zip downloader output, fixes #533
parent
6f8031ac90
commit
bfd48b06bd
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue