Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2014-05-21
23:13 • Ticket [3560322fff] exec << cannot set binary translation status sti... artifact: c2095da0c3 user: samoc
2012-08-21
20:09 • Ticket [3560322fff]: 4 changes artifact: b4d9dcb69e user: dgp
13:01 • New ticket [3560322fff]. artifact: 5378ed6c4f user: dgp

[exec <<] cannot set binary translation

Open3560322fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 13 years ago
Descriptionplain2012-08-21 13:01:34
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.
dgpplain2012-08-21 20:09:49
See also 1189293
samocplain2014-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]
Log in (anonymous is fine) to add a comment.