Or maybe you just want to do:

  @shell_exec(...)

? 

-----Original Message-----
From: Svensson, B.A.T. (HKG)
To: '[EMAIL PROTECTED] '
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: [EMAIL PROTECTED]
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:[EMAIL PROTECTED] 
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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to