note 61023 added to ref.exec
| From: | dragomirovattiscalidotit at osu1 dot php dot net | Date: | Mon, 23 Jan 2006 23:52:35 +0000 |
| Subject: | note 61023 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-102316@lists.php.net to get a copy of this message | ||
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!
----
Server IP: 213.92.11.19
Probable Submitter: 62.94.56.224
----
Manual Page -- http://www.php.net/manual/en/ref.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61023
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61023&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61023&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61023&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61023&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61023&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61023&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61023&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61023&report=yes
Search -- http://master.php.net/manage/user-notes.php