<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - Calling a secondary tcl script from the main tcl script? - Comments</title>
 <link>http://community.activestate.com/forum-topic/calling-secondary-tcl-script-main-tcl-script</link>
 <description>Comments for &quot;Calling a secondary tcl script from the main tcl script?&quot;</description>
 <language>en</language>
<item>
 <title>use exec</title>
 <link>http://community.activestate.com/forum-topic/calling-secondary-tcl-script-main-tcl-script#comment-5437</link>
 <description>&lt;p&gt;Use the &#039;exec&#039; command and do not background the process (don&#039;t use &#039;&amp;amp;&#039;).  Tcl will wait until the 2nd script is done executing and then continue.&lt;/p&gt;
</description>
 <pubDate>Fri, 23 May 2008 15:07:34 -0700</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 5437 at http://community.activestate.com</guid>
</item>
<item>
 <title>Calling a secondary tcl script from the main tcl script?</title>
 <link>http://community.activestate.com/forum-topic/calling-secondary-tcl-script-main-tcl-script</link>
 <description>&lt;p&gt;I would like to create a main tcl script that will call 2nd tcl script and run it.  But when the main tcl script calls the 2nd script, I would like the main script paused until the 2nd tcl script is done executing and returns, when the main script will then continue running the remainder of the main script.  Is this possible?&lt;/p&gt;
&lt;p&gt;Any other suggestions on doing this?  I&#039;m trying to avoid putting all the procedures in a single file.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/calling-secondary-tcl-script-main-tcl-script#comments</comments>
 <category domain="http://community.activestate.com/forums/activetcl-discussion-0">ActiveTcl discussion</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Thu, 18 Oct 2007 20:24:23 -0700</pubDate>
 <dc:creator>longisyard</dc:creator>
 <guid isPermaLink="false">1524 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
