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

Parent/child question

Status
Not open for further replies.

bgode

Programmer
Jan 6, 2004
5
0
0
US
I know I'm overlooking something obvious. I have a script that calls another script. How can the child script send back a string to the parent or set an environment variable that the parent can read?
 
That depends on how the 2nd script (child) is called. Offhand, I can think of 3 ways: source, proc, and [exec tclsh ...]. Which way are you doing it?



_________________
Bob Rashkin
 
Source" is what I was looking for. Thank you very much!
 
So that means no more problem?

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top