IllegalOperation38
Technical User
Greetings. I would like to know if someone could be so kind as to show me how to do this one thing. Then I can study it and learn, and move on.
I have a simple canvas with a button and a display window.
When you click the button, it sends the command [df -k] which shows disk space usage in Linux, but instead of diplaying the output in the terminal bin/bash I wish it to show in the window on the canvas.
Note I am using wishx that can interpret unix commands directly, unless there was an easier and more practical way.
So far I have
button .b -text "Show Disk Space" -command {system df -k}
Thank you,
and
Kind regards
I have a simple canvas with a button and a display window.
When you click the button, it sends the command [df -k] which shows disk space usage in Linux, but instead of diplaying the output in the terminal bin/bash I wish it to show in the window on the canvas.
Note I am using wishx that can interpret unix commands directly, unless there was an easier and more practical way.
So far I have
button .b -text "Show Disk Space" -command {system df -k}
Thank you,
and
Kind regards