diff options
author | davygrvy <davygrvy@noemail.net> | 2004-05-10 20:51:11 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2004-05-10 20:51:11 (GMT) |
commit | 6712351b64e0b11506706f1efc43386039fce856 (patch) | |
tree | d35da123b63e30636bf9cf3f6f18521bbf575b09 /win/tclWinPipe.c | |
parent | 00ebcbf570d97f2f1bd30f418d441addd8344adb (diff) | |
download | tcl-6712351b64e0b11506706f1efc43386039fce856.zip tcl-6712351b64e0b11506706f1efc43386039fce856.tar.gz tcl-6712351b64e0b11506706f1efc43386039fce856.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: 46bf8afe88d4819e6ad7cc16154a0fe2c3434353
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r-- | win/tclWinPipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index 2e26bee..995c154 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.45 2004/05/10 19:00:46 davygrvy Exp $ + * RCS: @(#) $Id: tclWinPipe.c,v 1.46 2004/05/10 20:51:11 davygrvy Exp $ */ #include "tclWinInt.h" @@ -1158,7 +1158,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; } |