RE: [PHP-WIN] Prevent error output from shell_exec
| From: | HKG) | Date: | Sat, 22 May 2004 21:38:07 +0000 |
| Subject: | RE: [PHP-WIN] Prevent error output from shell_exec | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-23805@lists.php.net to get a copy of this message | ||
Or maybe you just want to do:
@shell_exec(...)
?
-----Original Message-----
From: Svensson, B.A.T. (HKG)
To: 'php-windows@lists.php.net '
Sent: 22-5-2004 23:36
Subject: RE: [PHP-WIN] Prevent error output from shell_exec
Have you tried this with popen()?
-----Original Message-----
From: Paul J. Smith
To: Jeroen Serpieters
Cc: php-windows@lists.php.net
Sent: 22-5-2004 20:10
Subject: RE: [PHP-WIN] Prevent error output from shell_exec
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.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php