Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 41e1e8dcf0c9fd17aacb35aa7355d47dbd386fbf
Ticket: 1476191fffffffffffffffffffffffffffffffff
exec function ignores stderr
User & Date: fishybell on 2006-04-25 15:24:42
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Currently the exec function will always fail if the
    process writes to standard error. Since various
    applications use stderr for debug output it would be
    useful to retain this output without having to resort
    to redirecting stderr to stdout. I've included a patch
    that adds the "-ignorestderr" option to exec to
    accomplish just this. Without the switch, exec runs as
    normal, with the switch stderr will continue to be
    written without stopping the command. The drawback to
    this is that if "-ignorestderr" is used, and the
    program fails, stderr is not appended to the result. It
    is useful in some situations, but not others.
    
    I've tested the patch only on linux. It should function
    properly on windows, but will need testing. The patch
    is against the most recent cvs checkout from sourceforge.
    
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "fishybell"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "exec function ignores stderr"
  11. type changed to: "RFE"