[S.Velmourougan]- when I execute the compiled c file ( a.exe) from the TCL code, I get an error ======none channel"console1" wasn't opened for writing while executing "exec a $arg(0) $arg(1) > @ stdout ====== above code works nicely in the linux but how to solve this in windows if answer found answer at svmourougan@yahoo.com [Richard Suchenwirth] - While on Unixes, the standard channels ''stdin'', ''stdout'', and ''stderr'' are the same as the terminal you started wish from, a Windows wish doesn't typically have these standard channels (and is mostly started with double-click anyway). To help this, Scriptics has added a console that takes over the standard channels (stderr even coming in red, stdin in blue). The console is normally hidden, but can be brought up with the command ====== console show ====== somewhere near the beginning of your wish script. In the 8.2.2 Winhelp, the console command is not contained, but from playing with it, you can find out ======none % console help bad option "help": should be hide, show, or title ====== And there's even more to it, as [Frederic Bonnet] tells us: ''You can use the undocumented "console" command. "console eval