RE: [PECL-DEV] [extension / windows] exec without using cmd.exe

From: Date: Wed, 25 Jan 2006 08:26:12 +0000
Subject: RE: [PECL-DEV] [extension / windows] exec without using cmd.exe
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3450@lists.php.net to get a copy of this message
Hi again, First of all, thanks for the help & id you provide. @David K > I tried the COM object and you were right, it does not use "cmd.exe". Although, I didn't find a quick way to get the ouput of the given programm, and for some weird reason, the redirection operator did not work (stuff.exe > result.file, never found a single result.file on the server even with the correct permissions and path) @ David M.P > Thx for your hint on MSDN, wich I checked and found a sample code (the extension I come up with is merely "almost" a copy paste of the sample). Anyway, for thoose who might be interrested in the extension (or interresed in giving it a quick glance just to tell me if it's ok/bad/worst ever) here are the sources. http://www.gcroes.com/sources/php/extension/exec_nocmd/main.c I'm definitely proud of it, but it solved my problem. I don't know if it's worth packaging at all, just tell me.... I'll made the effort if so :-)

« previous php.pecl.dev (#3450) next »