proc_close
thermage/thermage
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Close a process opened by proc_open() and return the exit code of that process
proc_close
(
resource $process
):
int
$info
=
stream_get_contents
(
$pipes
[
1
]);
fclose
(
$pipes
[
1
]);
fclose
(
$pipes
[
2
]);
proc_close
(
$process
);
return
$info
;
}
src/Base/Terminal.php