Commit:    d1dc1fcce5f0ad8e6cbfe38a49538e43d299b391
Author:    Anatol Belski <[email protected]>         Fri, 3 Nov 2017 13:07:30 +0100
Parents:   5042b078dd96639a756a87573e5710588538e910
Branches:  master

Link:       
http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=d1dc1fcce5f0ad8e6cbfe38a49538e43d299b391

Log:
Use proc_open based exec as the cmd needs env

Changed paths:
  M  include/PeclExt.php


Diff:
diff --git a/include/PeclExt.php b/include/PeclExt.php
index f39da0c..6fcbf38 100644
--- a/include/PeclExt.php
+++ b/include/PeclExt.php
@@ -339,7 +339,8 @@ class PeclExt
                                $php_bin = PHP_BINARY;
                        }
                        $cmd = $php_bin . " $this->pickle_phar convert " . 
$package_xml_dir;
-                       $pickle_convert_out = shell_exec($cmd);
+                       $pickle_convert_out = exec_single_log($cmd, NULL, 
$this->build->env);
+
 
                        if (file_exists($package_xml_dir . DIRECTORY_SEPARATOR 
. "composer.json")) {
                                $this->composer_json_path = $package_xml_dir . 
DIRECTORY_SEPARATOR . "composer.json";


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to