Re: problem with exec()
| From: | CJD | Date: | Mon, 08 Oct 2001 00:20:33 +0000 |
| Subject: | Re: problem with exec() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9739@lists.php.net to get a copy of this message | ||
Depending on the command you are trying to run, you might have to put
"command /c xxxx" as calls like copy, del, dir etc are internal to
command.com and need to be poped into a new shell to run.
"Christian Dechery" <cdechery@easynet.com.br> wrote in message
news:5.0.0.25.2.20011007184925.01d04170@pop3.norton.antivirus...
> I'm running PHP on a Win98 machine with apache 1.3.12 and PHP 4.0.6, and I
> can't seem to get exec(), system() or whatever working...
>
> somehow the shell execution of the passed command is interrupted and the
> output is cut... so the result is wrong.... is this a Windows prob???
>
> _____________________________
> . Christian Dechery
> . . Gaita-L Owner / Web Developer
> . . http://www.webstyle.com.br
> . . http://www.tanamesa.com.br
>