summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
diff options
context:
space:
mode:
authordavygrvy <davygrvy@noemail.net>2004-05-10 20:55:43 (GMT)
committerdavygrvy <davygrvy@noemail.net>2004-05-10 20:55:43 (GMT)
commitdd7aa624847f3c89598bb149459217820944eb0c (patch)
tree77893b5ecf8bd833b440bd32e44e444258ecf10e /win/tclWinPipe.c
parente11ccd1f78b78b32111600f7374badf508b3919f (diff)
downloadtcl-dd7aa624847f3c89598bb149459217820944eb0c.zip
tcl-dd7aa624847f3c89598bb149459217820944eb0c.tar.gz
tcl-dd7aa624847f3c89598bb149459217820944eb0c.tar.bz2
(TclpCreateProcess): When under NT, with no console, and executing a
DOS application, the path priming does not need an ending space as BuildCommandLine() will do this for us. FossilOrigin-Name: 980dfd39f398e71938c5fcfd2989b6d073d77d25
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r--win/tclWinPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 9e08780..aa54a29 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinPipe.c,v 1.33.2.7 2004/05/10 19:10:49 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinPipe.c,v 1.33.2.8 2004/05/10 20:55:44 davygrvy Exp $
*/
#include "tclWinInt.h"
@@ -1156,7 +1156,7 @@ TclpCreateProcess(
startInfo.wShowWindow = SW_HIDE;
startInfo.dwFlags |= STARTF_USESHOWWINDOW;
createFlags = CREATE_NEW_CONSOLE;
- Tcl_DStringAppend(&cmdLine, "cmd.exe /c ", -1);
+ Tcl_DStringAppend(&cmdLine, "cmd.exe /c", -1);
} else {
createFlags = DETACHED_PROCESS;
}