Tcl Source Code

View Ticket
Login
Ticket UUID: 3560322
Title: [exec <<] cannot set binary translation
Type: Bug Created on: 2012-08-21 13:01:34
Submitter: dgp Assigned to: aku
Subsystem: 27. Channel Types Severity: Minor
Priority: 5 Medium Last modified: 2014-05-21 23:13:03
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: obsolete: 8.5.12
Description:
A remaining flaw blocking use of << redirection to pass
along binary data is that the pipeline channel cannot have
its -translation configured suitably for binary data.
User Comments:
dgp added on 2012-08-21 20:09:49:
See also 1189293

samoc added on 2014-05-21 23:13:03:
There are two alternate patches for setting -translation binary on the exec result pipeline here: http://wiki.tcl.tk/39989

The following code works with these patches:
    encoding system iso8859-1
    set flac [exec -binarystdout flac --totally-silent - << $wav]