Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8ba0640c89147e027e99bba20545634a7d91a1a1d81051e8de51eb57fc97ffd3
Ticket: 1862356fffffffffffffffffffffffffffffffff
arguments to TclCreatePipeline cannot start with '|'
User & Date: jan.nijtmans on 2026-11-27 12:26:59
Changes

  1. assignee changed to: "jan.nijtmans"
  2. closer changed to: "nobody"
  3. comment changed to:
    Any parameter to TclCreatePipeline which begins with a pipe symbol triggers the 'command needed' case, even if it's not just a | or |&.  This makes it impossible to pass any parameter to a child process which begins with a pipe symbol.
    
    The problem occurs on 8.4.13 but not on 8.4.7.  I haven't checked other versions.
    
    Example:
    
    (Tcl 8.4.7)
    % exec echo |foo
    |foo
    
    (Tcl 8.4.13)
    % exec echo |foo
    illegal use of | or |& in command
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. severity changed to: "Minor"
  8. status changed to: "Pending"