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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open a program

Status
Not open for further replies.

ts50cc

Technical User
Mar 14, 2009
1
Hi everyone,

sorry for my nube question.

Let's say that a tcl script is running. Is there any way that the tcl script causes the execution of another program?
Is there a specific keyword or sth?

Thanks for your time

Friendly,

Angel
 
Angel, i believe it is:
exec scriptname

where scriptname is the script and if it's not in the same directory you must provide the file path, eg.
/home/usr/example/scriptname
 
Actually,
oluoch28304 said:
scriptname
doesn't have to be a script, per se. exec takes any OS command as an argument. That is, anything you might execute from the command line.

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top