| Ticket UUID: | 2339907 | ||
| Title: | execing command that starts with 2 fails | ||
| Type: | Bug | Created on: | 2008-11-24 20:09:59 |
| Submitter: | nobody | Assigned to: | andreas_kupries |
| Subsystem: | 24. Channel Commands | Severity: | |
| Priority: | 5 Medium | Last modified: | 2026-10-17 07:04:13 |
| Status: | Open | Closed by: | |
| Resolution: | None | Closed on: | |
| Version: | 8.6.18, 9.0.5, 9.1.0 | ||
| Description: | ||||
Tcl Version: 8.4.19 OS: 32 bit and 64 bit Linux Submitter: Robert Soliday ([email protected]) Problem Behavior: When I try to exec a command of the name 2DSlider I get the error message: illegal use of | or |& in command tclPipe.c is flagging the number 2 as a redirection character. For now I can just create a symlink with a different name but I just thought someone should know about this bug. It took me a while to figure out what the heck was happening. | ||||
| User Comments: | ||||
serhiy.storchaka added on 2026-10-17 07:04:13:
Regression since 8.4.13 from [47d7a23bdf] (the fix for [768659]): in the first pass of TclCreatePipeline() a word starting with "2" that is not a "2>" redirection does not count as a command, so [exec 2DSlider] fails with "illegal use of | or |& in command". Proposed fix in branch exec-pipeline-words, test exec-23.1. It also fixes [1862356fff]. | ||||
