pclose

Example

 int pclose ( resource $handle ) 

Description

Closes a file pointer to a pipe opened by popen().

Return Values

Returns the termination status of the process that was run. In case of an error then -1 is returned.