Re: external program execution
| From: | Gabor Hojtsy | Date: | Tue, 20 Aug 2002 08:19:41 +0000 |
| Subject: | Re: external program execution | ||
| References: | 1 2 3 4 5 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2348@lists.php.net to get a copy of this message | ||
> |having looked throught the user comments on www.php.net/exec
>
> This one is probably a good hint..
>
> (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."\"");|
I have also read the comments on that page and some ideas seem to
be nice. However /b does not seem to be the option to run in the
background, but I'll also try some more ideas found there.. Thanks
for the tips.
Goba