proc_close

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
<?php proc_close(resource $process): int