Overview
| Artifact ID: | d9e6709c79d12e0028430734f83fc88d8770cd46fab841b0b060ddbe8c464834 |
|---|---|
| Ticket: | cbbd2511cee8b8b8b03342577df9e181a27c5ba5
tclWinPipe DETACHED_PROCESS vs. CREATE_NO_WINDOW |
| User & Date: | teclab on 2026-07-03 21:22:42 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Dear Core Team, In Windows wish 8.6 if you try the following: exec powershell.exe -NoProfile -Command "dir" This will return nothing. With powershell this whole redirection fails. One has to compile tclWinPipe.c with: createFlags = CREATE_NO_WINDOW; It seems that with no console attached the powershell does not even run the command, failing silently: exec powershell.exe -NoProfile -Command "dir | Out-File -Encoding utf8 C:/dir.txt" The above command does not even generate the file. Note that with tclsh all the above works, it only in wish that fails. TCL 9 does have the same issue.
- foundin changed to: "8.6 and 9.x"
- is_private changed to: "0"
- login: "teclab"
- priority changed to: "5 Medium"
- private_contact changed to: "6bac77948ef91492d41f70b5be732fdb60f91282"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "teclab"
- subsystem changed to: "69. Other"
- title changed to: "tclWinPipe DETACHED_PROCESS vs. CREATE_NO_WINDOW"
- type changed to: "Patch"