This commit is contained in:
Dan Cryer 2016-04-27 15:27:27 +01:00
commit 21ba39e6ff
No known key found for this signature in database
GPG key ID: 6030CBA5FE342813
3 changed files with 5 additions and 8 deletions

View file

@ -76,6 +76,7 @@ abstract class BaseCommandExecutor implements CommandExecutor
$this->lastOutput = array();
$command = call_user_func_array('sprintf', $args);
$this->logger->logDebug($command);
if ($this->quiet) {
$this->logger->log('Executing: ' . $command);
@ -89,11 +90,6 @@ abstract class BaseCommandExecutor implements CommandExecutor
);
$pipes = array();
if (defined('PHPCI_DEBUG_MODE')) {
$this->logger->logDebug($command);
}
$process = proc_open($command, $descriptorSpec, $pipes, $this->buildPath, null);
if (is_resource($process)) {