diff options
author | sebres <sebres@users.sourceforge.net> | 2018-08-30 11:13:09 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2018-08-30 11:13:09 (GMT) |
commit | cb9f3f92687994f262d7d65620616769857b590e (patch) | |
tree | a4b1c5b495df59cbf3479b700c65715239444715 /doc/exec.n | |
parent | 77a26f5c95ac4404f7860eef2924c113e6c0de5f (diff) | |
parent | 6d88b01d1e2bb2a76d4e0f094f1e895e3b16c859 (diff) | |
download | tcl-cb9f3f92687994f262d7d65620616769857b590e.zip tcl-cb9f3f92687994f262d7d65620616769857b590e.tar.gz tcl-cb9f3f92687994f262d7d65620616769857b590e.tar.bz2 |
merge 8.5
Diffstat (limited to 'doc/exec.n')
-rw-r--r-- | doc/exec.n | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -217,6 +217,19 @@ information is instead sent to the console, if one is present, or is discarded. .RS .PP +Note that the current escape resp. quoting of arguments for windows works only +with executables using CommandLineToArgv, CRT-library or similar, as well as +with the windows batch files (excepting the newline, see below). +Although it is the common escape algorithm, but, in fact, the way how the +executable parses the command-line (resp. splits it into single arguments) +is decisive. +.PP +Unfortunately, there is currently no way to supply newline character within +an argument to the batch files (\fB.cmd\fR or \fB.bat\fR) or to the command +processor (\fBcmd.exe /c\fR), because this causes truncation of command-line +(also the argument chain) on the first newline character. +But it works properly with an executable (using CommandLineToArgv, etc). +.PP The Tk console text widget does not provide real standard IO capabilities. Under Tk, when redirecting from standard input, all applications will see an immediate end-of-file; information redirected to standard output or standard @@ -409,6 +422,10 @@ that sometimes pop up: With the file \fIcmp.bat\fR looking something like: .PP .CS +@gcc %* +.CE +or like another variant using single parameters: +.CS @gcc %1 %2 %3 %4 %5 %6 %7 %8 %9 .CE .SS "WORKING WITH COMMAND BUILT-INS" |