Re: troublesome exec
| From: | Ernani Joppert Pontes Martins | Date: | Wed, 18 Sep 2002 05:34:14 +0000 |
| Subject: | Re: troublesome exec | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15870@lists.php.net to get a copy of this message | ||
Have you tried to use system instead of exec ?
HTH,
Ernani
"Michael Langford" <bonny.langford@virgin.net> escreveu na mensagem
news:20020502100113.49398.qmail@pb1.pair.com...
> I'm trying to run a program using exec but no matter what I do I keep
> receiving a persistent unable to fork error.
> I currently have:
> exec("command.exe", $misspells);
> which gives me an error, so tried
> exec("cmd /c command.exe", $misspells); and even
> exec("C:\WINNT\system32\cmd.exe /c command.exe", $misspells);
>
> I tried setting execute permissions on the system32 folder and also have
> execute permissions on the command.exe file. I am running PHP v2.1.0,
> recently upgrading coz i heard there were unable to fork problems with
> 4.0.6. Can anyone help???
>
> many thanks in advance
> Mike
>
>
>