note 61023 deleted from ref.exec by cmb
| From: | cmb@php.net | Date: | Sun, 24 Feb 2019 09:28:32 +0000 |
| Subject: | note 61023 deleted from ref.exec by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210279@lists.php.net to get a copy of this message | ||
Note Submitter: dragomirov at tiscali dot it
----
IT's great Anthony, your function works even under a *nix machine. You only need to modify like
that
<?php
function callTool ($path,$file)
{
chdir($path); $call = $path.$file;
pclose(popen($call.' &', 'r'));
}
?>
The command goes in bakground and the script is still running.
Thanx a lot!