- Dec
- 6
- 2
Borrowing an example from the 'PIPES' topic in TCC v35 help, I'm executing this command:
I find this fails: TCC hangs. More accurately, it stops, apparently blocked by something. Hitting {Ctrl}+C cancels whatever the blockage is and returns me to the command prompt. However I would have expected this simple pipe-sequence to work without any issues. FWIW this did work, in the (old) TCC/LE v14.
Using "in-process" pipes works fine. Both of these succeed:
Moreover, this also works:
So it appears the issue is somehow with TCC launching a new process for the second (or subsequent) pipe(s).
Oddly, I find that issuing:
and then immediately issuing a following command of:
does sometimes work — one-time. This is intermittent and rare, but I have seen it twice (in all my experimentation), so it does happen from time to time. It's as if the first command "primes the system" somehow so that the second command succeeds — one-time. But this is not reliable/easily reproducible.
I cannot track down what is going wrong with using pipes this way. Can anyone offer any help?
TCC 35.00.21 x64 Windows 11 [Version 10.0.26100.7171]
Thanks
alias |sort |sertI find this fails: TCC hangs. More accurately, it stops, apparently blocked by something. Hitting {Ctrl}+C cancels whatever the blockage is and returns me to the command prompt. However I would have expected this simple pipe-sequence to work without any issues. FWIW this did work, in the (old) TCC/LE v14.
Using "in-process" pipes works fine. Both of these succeed:
alias |!sort |!sortalias |!sort |sortMoreover, this also works:
alias |sortSo it appears the issue is somehow with TCC launching a new process for the second (or subsequent) pipe(s).
Oddly, I find that issuing:
alias |sortand then immediately issuing a following command of:
alias |sort |sortdoes sometimes work — one-time. This is intermittent and rare, but I have seen it twice (in all my experimentation), so it does happen from time to time. It's as if the first command "primes the system" somehow so that the second command succeeds — one-time. But this is not reliable/easily reproducible.
I cannot track down what is going wrong with using pipes this way. Can anyone offer any help?
TCC 35.00.21 x64 Windows 11 [Version 10.0.26100.7171]
Thanks