| 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: | jan.nijtmans |
| Subsystem: | 24. Channel Commands | Severity: | Minor |
| Priority: | 5 Medium | Last modified: | 2026-11-27 15:27:45 |
| Status: | Pending | Closed by: | nobody |
| Resolution: | Fixed | 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]. jan.nijtmans added on 2026-11-27 15:27:45:
Merged to [0c63a59973|trunk] | ||||
