RE: [PHP-WIN] Prevent error output from shell_exec
| From: | Paul J. Smith | Date: | Sat, 22 May 2004 18:10:09 +0000 |
| Subject: | RE: [PHP-WIN] Prevent error output from shell_exec | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23799@lists.php.net to get a copy of this message | ||
Thanks. Spot the deliberate mistake ;)
Unfortunately, in my case, it doesn't work. I still get the PSEXEC
header, which is what I am trying to suppress.
Any other ideas?
-----Original Message-----
From: Jeroen Serpieters [mailto:jeroen@lunitechs.com]
Sent: 22 May 2004 19:05
To: Paul J. Smith
Subject: Re: [PHP-WIN] Prevent error output from shell_exec
On Sat, 22 May 2004, Paul J. Smith wrote:
> I've tried >null and various other things to no
> effect. Anyone know how to do this on a windows platform?
>
Redirecting to NUL (not null) should do the trick.