pclose

(PHP 3, PHP 4 >= 4.0.0)

pclose -- Closes process file pointer

Description

int pclose ( int fp)

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

The file pointer must be valid, and must have been returned by a successful call to popen().

Returns the termination status of the process that was run.

See also popen().