Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

opening new shell.

Status
Not open for further replies.

programmer0310

Programmer
Joined
Oct 26, 2018
Messages
1
Location
US
Hi,

I was trying to build a GUI for an open source software using TCL/TK. This open source works in a different shell.

so, How do I open this shell (vagrant ssh) from TCL? for example "~/openthread/etc/vagrant/vagrant up" this is the path for the shell which will open up the vagrant. how do I set it into a button, for example, whenever a user presses the button, the above directory is run which brings up the vagrant shell?
can I do that in TCL/TK?

TIA for the help and suggestions.

 
To launch a separate executable

exec path_to_executable

To launch it from a button, add it to the button creation

button .... -command "exec ..."
or button .... -command [list exec ...]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top