popen() on Win32

From: Date: Wed, 03 Jan 2001 08:35:02 +0000
Subject: popen() on Win32
Groups: php.dev 
Request: Send a blank email to php-dev+get-42782@lists.php.net to get a copy of this message
As some of you might know, popen() on Win32 doesn't work in non-console mode (i.e. IIS). This means that all functions which rely on it don't work. The way to implement it is using CreateProcess() and in some way try and manually create the pipe between father/child. Before that you need to allocate a Win32 pipe (with something like CreatePipe()) and possibly do some other magic such as allocate a console (or not). Is anyone here a Win32 programmer with some spare time to mess around with it and can try to get it to work. Another reference could be Apache 2.0's APR library. They do it there but I'm not sure if they have the same initial problem where Apache doesn't run on a Console. I remember 1.3.x does run on a console. Volunteers? :) Andi

« previous php.dev (#42782) next »