For Programmers: Free Programming Magazines  


Home > Archive > Tcl > November 2006 > Error: channel "stdout" wasn't opened for writing when "exec >&









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error: channel "stdout" wasn't opened for writing when "exec >&
WilliamKF@gmail.com

2006-11-29, 7:08 pm

Hello,

I am redefining stdout and stderr using channels.

It seems to work fine for all cases except the following:

exec >&@stdout printenv

Which gets an error:

Error: channel "stdout" wasn't opened for writing

Any ideas how to get the above exec command to work (created from
init.tcl) with a redefined stdout channel?

Thanks.

-William

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com