package require Tclx pipe out in fconfigure $in -buffering none fconfigure $out -blocking 0 puts -nonewline $in [string repeat H 8193] # hangs already here puts [read $out] close $in close $outsame problem with:
package require Tclx pipe out in fconfigure $in -buffering full -buffersize 1000000 fconfigure $out -blocking 0 -buffering full -buffersize 1000000 puts -nonewline $in [string repeat H 8193] flush $in puts [read $out] close $in close $out
I am not sure if this still applies but ancient unix (V7 and System 5) had a limit on how many bytes you can put on a pipe before it blocks. IIRC it was 10 * 512 bytes. If this still holds your program blocks in "puts".
LV Note that Tcl bugs should be reported over on http://tcl.sf.net/

