cvs: TSRM / tsrm_win32.c

From: Date: Mon, 02 Apr 2007 20:48:53 +0000
Subject: cvs: TSRM / tsrm_win32.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5706@lists.php.net to get a copy of this message
stas Mon Apr 2 20:48:53 2007 UTC Modified files: /TSRM tsrm_win32.c Log: fix for #33664 Console window appears when using exec() http://cvs.php.net/viewvc.cgi/TSRM/tsrm_win32.c?r1=1.31&r2=1.32&diff_format=u Index: TSRM/tsrm_win32.c diff -u TSRM/tsrm_win32.c:1.31 TSRM/tsrm_win32.c:1.32 --- TSRM/tsrm_win32.c:1.31 Tue Mar 20 17:57:44 2007 +++ TSRM/tsrm_win32.c Mon Apr 2 20:48:53 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: tsrm_win32.c,v 1.31 2007/03/20 17:57:44 tony2001 Exp $ */ +/* $Id: tsrm_win32.c,v 1.32 2007/04/02 20:48:53 stas Exp $ */ #include <stdio.h> #include <fcntl.h> @@ -219,7 +219,7 @@ cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")); sprintf(cmd, "%s /c %s", TWG(comspec), command); - if (!CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, NORMAL_PRIORITY_CLASS, env, cwd, &startup, &process)) { + if (!CreateProcess(NULL, cmd, &security, &security, security.bInheritHandle, NORMAL_PRIORITY_CLASS|CREATE_NO_WINDOW, env, cwd, &startup, &process)) { return NULL; } free(cmd);

« previous php.zend-engine.cvs (#5706) next »