If you are running from a tcl console (e.g. tkcon), this
is true, because it have captured your "stdin".
In general, you can have the input channel blocking, buffering, &c, controlled by the command fconfigure. This "-1" means the channel stdin is not blocking and have no input available yet.
rpragana,
can you tell me how to solve the above problem...and can you tell me more about this stdin. Because I have a different problem. The tool which uses tcl console freezes as soon as I try to execute [gets stdin] command after flushing as well
anyways
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.