I tried popen, but it doesn't run the program. I'm not sure popen works on win platforms? -----Original Message----- From: Svensson, B.A.T. (HKG) [mailto:B.A.T.Svensson@xxxxxxx] Sent: 22 May 2004 22:36 To: 'php-windows@xxxxxxxxxxxxx ' Subject: RE: Prevent error output from shell_exec Have you tried this with popen()? -----Original Message----- From: Paul J. Smith To: Jeroen Serpieters Cc: php-windows@xxxxxxxxxxxxx Sent: 22-5-2004 20:10 Subject: RE: 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? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php