would like to evaluate the stderr msg genereated by malfunctioning call to a shell command:
set pipe [open "| rsh $host -l $user echo OK" r ]
puts [gets $pipe]
script will return OK if command works but will return an empty string otherwise.
How can I evaluate the stderr message...
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.