diff --git a/cmpUtil.php b/cmpUtil.php index 692d0d5..db15858 100644 --- a/cmpUtil.php +++ b/cmpUtil.php @@ -637,6 +637,23 @@ return explode("\n", $out); } + function cmpSysExecTest() { + $a = array( + "ping" , + "-c" , + "4" , + "127.0.0.1" , + ); + + $this->d("Launch"); + $this->d($a); + + $this->cmpSysExec($a, array( + "silent" => false, + "eventString" => true, + "eventStringStdOut" => array("call" => [$this, "d"]) + )); + } function getGitStatus($dir = ".") {