pclose
Close process file pointer
pclose()
function closes the pipeline opened by popen().
<?php $file = popen ( "/bin/ls" , "r" ) ; //Some code to be executed pclose ( $file ) ; ?>
pclose ( pipe )
parameter | describe |
---|---|
pipe | Required. Specifies the pipeline opened by popen(). |
This function returns the terminated state of the running process.
If an error occurs, false is returned.