You can invoke one using <FONT FACE=monospace>exec xterm &</font> if you mean what I think you mean (running something like an xterm window inside your widget) it could get messy.<br>This should do the trick for a mini xterm (ie one line no output)<br><FONT FACE=monospace>textentry .t -variable cmd<br>button .b -text "Run" -command { exec xterm -e $cmd & }<br>pack .t .b </font><br><br>There is some way of capturing output, I'm not near any of my tcl stuff right now so I'll post it when I find it.<br> <p>Chris Packham<br><a href=mailto:kriz@i4free.co.nz>kriz@i4free.co.nz</a><br><a href= > </a><br>A thousand mokeys at a thousand machines, it happened, it got called the internet.
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.