Overview
| Artifact ID: | 18b701e85d55077213fa2bb3ef530f01d871134886fb40a7770e5ea0634f1785 |
|---|---|
| Ticket: | f91ab723f3dfbc0d2b720a70a1fa09eebfa1cde5
exec+wish fails to handle windows batch file with arguments and spaces |
| User & Date: | oehhar on 2024-02-23 09:57:40 |
Changes
- icomment:
The upper code is in file win\tclWinPipe.c line 1126. The comment above the code <verbatim> } else if (applType == APPL_DOS) { /* * Under NT, 16-bit DOS applications will not run unless they can * be attached to a console. If we are running without a console, * run the 16-bit program as an normal process inside of a hidden * console application, and then run that hidden console as a * detached process. */ </verbatim> only speaks about 16 bit DOS applications. So, we have two possible solutions: * Add double quotes around the argument cmdLine * Totally remove this special handling for "APPL_DOS" and use "createFlags = DETACHED_PROCESS;" for this type too. We probably need tests in tk for this, so it is a double-project bug. Any comment appreciated, Harald - login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"