php man page for proc_close

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 process

SYNOPSIS
int proc_close (resource $process)
DESCRIPTION
proc_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.
PARAMETERS
o $process - The proc_open(3) resource that will be closed.
RETURN VALUES
Returns 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
exit(2) - minix
pclose(3) - osf1
proc_open(3) - php
Similar Topics in the Unix Linux Community
proc_open
formatting output in html
Hacked.... .htaccess