Hi all,
I trying to write the ouput of a program to a tk text widget. The program involved here is the top utility. I am creating a pipe and fileevent to see the information live. My code works if the open command is as follows:
if {[catch {open "|top -u $username -b" r+} input] } {
But...
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.