note 24232 added to ref.exec
| From: | phpmanual at oderwat dot de | Date: | Sat, 10 Aug 2002 05:47:43 +0000 |
| Subject: | note 24232 added to ref.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-34651@lists.php.net to get a copy of this message | ||
(In addition to an older comment)
I had the requirement to start a program from a php cli-script with a low priority (to run for hours
in the background). I found this to be working fine:
$res=exec("start /low /b /wait identify.exe -format \"%w %h %m\"
\"".$file."\"");
--
http://www.php.net/manual/en/ref.exec.php
http://master.php.net/manage/user-notes.php?action=edit+24232
http://master.php.net/manage/user-notes.php?action=delete+24232
http://master.php.net/manage/user-notes.php?action=reject+24232