Add cmpSysExecTest

This commit is contained in:
cmp167
2024-03-08 02:34:00 +03:00
parent 2f7c7b676c
commit d178d52aa6

View File

@@ -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 = ".") {