|
2026-07-03
| ||
| 21:22 | • New ticket [cbbd2511ce] tclWinPipe DETACHED_PROCESS vs. CREATE_NO_WINDOW. artifact: d9e6709c79 user: teclab | |
tclWinPipe DETACHED_PROCESS vs. CREATE_NO_WINDOW
Opencbbd2511cee8b8b8b03342577df9e181a27c5ba5Created 152 days agoUpdated 152 days ago
Descriptionplain2026-07-03 21:22:42
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.
Log in (anonymous is fine) to add a comment.