
| email this FAQ to a colleague
Q: How do I use pipes in CGI programs under IIS? A: In order to improve CGI scripting performance, CGI processes are created WITHOUT consoles ... and thus without the *ability* to create pipes ...
which are an attribute of having a console. Happily, a registry setting (shown below) allows CGI processes to be created *with* consoles -- albeit with some performance overhead -- so everything I up and running for me
once again!
Here's the note that I received from John Ludeman:
Try doing this - set "CreateProcessWithNewConsole" under
HKLM\System\CurrentControlSet\Services\w3svc\parameters as a REG_DWORD
to one and restart the server. Look in chapter 10 of the online docs
for more info. - Steve Gibson |