Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[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.