I have a C application that accepts input from command line and would like to make a Tcl GUI that would let me give input commands through buttons,and output(scrolling data packets) from C program would be shown in text box.C application checks for input with: if(kbhit() && (gets(command)!=NULL)).Does anyone know of any useful examples or has an idea how this could be done?I'm running on Win2000.I've tried to do: open "|myprogram" "w+" but it keeps returning "Couldn't execute : myprogram : no such file or directory" even though it exists and is in the same directory!Any idea what might be wrong?