You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by st...@hyperreal.org on 1999/08/12 20:34:16 UTC
cvs commit: apache-1.3/src/main util_script.c
stoddard 99/08/12 11:34:16
Modified: src/main util_script.c
Log:
Win32: Create the CGI script proces as DETACHED. Tested in WinNT and Win98. This MAY solve the problem observed by some Win95/98 users where they get CGI script output sent to the console.
Revision Changes Path
1.144 +1 -1 apache-1.3/src/main/util_script.c
Index: util_script.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/util_script.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- util_script.c 1999/07/19 09:48:27 1.143
+++ util_script.c 1999/08/12 18:34:15 1.144
@@ -1019,7 +1019,7 @@
i++;
}
- if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, 0, pEnvBlock,
+ if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE, DETACHED_PROCESS, pEnvBlock,
ap_make_dirstr_parent(r->pool, r->filename),
&si, &pi)) {
if (fileType == eFileTypeEXE16) {