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

using exec

Status
Not open for further replies.

sl1200mk2

Technical User
Jun 7, 2005
39
FR
hi there
does someone can explain me how to deal with the exec command.

i'm running mac osx version of tcl.
i'm using tcl as a gui for a program who runs with no-gui, so i need to launch the program when i launch the tcl script.

the name of the no-gui program is pd.
when i use
exec /usr/bin/pd

pd launch but the tcl gui is no more executed.
should i link another script to my tcl one to launch pd?
i've tried with bgexec, but i should miss something because it results the same behaviour

thank you for any helps
nicolas
 
sorry for the noise

if i put
exec /usr/bin/pd &

the gui appears.....

+++
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top