address phpcs issue (strange it didn't appear in earlier runs)

This commit is contained in:
Eric Stadtherr
2018-07-30 11:20:43 -06:00
parent 87d78e87d2
commit bfea79f1e4

View File

@@ -200,9 +200,10 @@ function runSQLScript($sScript, $bfatal = true, $bVerbose = false, $bIgnoreError
function runWithEnv($sCmd, $aEnv) function runWithEnv($sCmd, $aEnv)
{ {
$aFDs = array(0 => array('pipe', 'r'), $aFDs = array(
1 => STDOUT, 0 => array('pipe', 'r'),
2 => STDERR); 1 => STDOUT,
2 => STDERR);
$aPipes = null; $aPipes = null;
$hProc = @proc_open($sCmd, $aFDs, $aPipes, null, $aEnv); $hProc = @proc_open($sCmd, $aFDs, $aPipes, null, $aEnv);
if (!is_resource($hProc)) { if (!is_resource($hProc)) {