Skip to content
Tcl Source Code Artifact [18b701e85d]
Login

Artifact [18b701e85d]

Artifact 18b701e85d55077213fa2bb3ef530f01d871134886fb40a7770e5ea0634f1785:

Ticket change [18b701e85d] - Ticket [f91ab723f3dfbc0d|f91ab723f3] <i>exec+wish fails to handle windows batch file with arguments and spaces</i> status still Open with 4 other changes by oehhar on 2024-02-23 09:57:40.
D 2024-02-23T09:57:40.286
J icomment The\supper\scode\sis\sin\sfile\swin\\tclWinPipe.c\sline\s1126.\r\n\r\nThe\scomment\sabove\sthe\scode\r\n<verbatim>\r\n\t}\selse\sif\s(applType\s==\sAPPL_DOS)\s{\r\n\t\s\s\s\s/*\r\n\t\s\s\s\s\s*\sUnder\sNT,\s16-bit\sDOS\sapplications\swill\snot\srun\sunless\sthey\scan\r\n\t\s\s\s\s\s*\sbe\sattached\sto\sa\sconsole.\sIf\swe\sare\srunning\swithout\sa\sconsole,\r\n\t\s\s\s\s\s*\srun\sthe\s16-bit\sprogram\sas\san\snormal\sprocess\sinside\sof\sa\shidden\r\n\t\s\s\s\s\s*\sconsole\sapplication,\sand\sthen\srun\sthat\shidden\sconsole\sas\sa\r\n\t\s\s\s\s\s*\sdetached\sprocess.\r\n\t\s\s\s\s\s*/\r\n</verbatim>\r\nonly\sspeaks\sabout\s16\sbit\sDOS\sapplications.\r\n\r\nSo,\swe\shave\stwo\spossible\ssolutions:\r\n\r\n\s\s\s*\s\s\sAdd\sdouble\squotes\saround\sthe\sargument\scmdLine\r\n\s\s\s*\s\s\sTotally\sremove\sthis\sspecial\shandling\sfor\s"APPL_DOS"\sand\suse\s"createFlags\s=\sDETACHED_PROCESS;"\sfor\sthis\stype\stoo.\r\n\r\nWe\sprobably\sneed\stests\sin\stk\sfor\sthis,\sso\sit\sis\sa\sdouble-project\sbug.\r\n\r\nAny\scomment\sappreciated,\r\nHarald
J login oehhar
J mimetype text/x-fossil-wiki
J username oehhar
K f91ab723f3dfbc0d2b720a70a1fa09eebfa1cde5
U oehhar
Z ede6664570b298e42c440eb154d30954