Query: proc_close
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PROC_CLOSE(3) 1 PROC_CLOSE(3) proc_close - Close a process opened byproc_open(3)and return the exit code of that processSYNOPSISint proc_close (resource $process)DESCRIPTIONproc_close(3) is similar to pclose(3) except that it only works on processes opened by proc_open(3). proc_close(3) waits for the process to terminate, and returns its exit code. If you have open pipes to that process, you should fclose(3) them prior to calling this function in order to avoid a deadlock - the child process may not be able to exit while the pipes are open.PARAMETERSo $process - The proc_open(3) resource that will be closed.RETURN VALUESReturns the termination status of the process that was run. In case of an error then -1 is returned. PHP Documentation Group PROC_CLOSE(3)
Related Man Pages |
---|
pclose(3) - mojave |
popen(3) - mojave |
wait(3c) - opensolaris |
proc_open(3) - php |
popen(3) - php |
Similar Topics in the Unix Linux Community |
---|
proc_open |
formatting output in html |
Hacked.... .htaccess |