Yes, there is a way.
Found this in a very old wish reference, and it works with the current version of TCL:
The idea is to use exec without the catch. This can be undesired, but if you can live with it, do this:
exec x:\path\program.exe >&@stdout
TCL will wait for the program to exit, and...
We have a clear understanding of the use of exec in TCL.
But, is there really NO WAY to use TCL to execute a process where the user will SEE stdout while the process is running?
That just seems odd. You can see people asking about this on this site and numerous others, but there is not one...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.