Quantcast
Channel: Cadence PCB Design Forum
Viewing all articles
Browse latest Browse all 5525

gets stdin not working

$
0
0

Hi

I am writing a code in Tcl to take user input at run time. 

For example:

puts "Enter input"

set a [gets stdin].

However, I get the message 1]channel "stdin" wasn't opened for reading in the command window.

Please help me resolve the issue


Viewing all articles
Browse latest Browse all 5525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>