<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/17117" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2009-08-20T19:01:16-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/17117</id>

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2009-08-20T19:01:16-04:00</updated>

		<published>2009-08-20T19:01:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=90002#p90002</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=90002#p90002"/>
		<title type="html"><![CDATA[External script taking too long to execute?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=90002#p90002"><![CDATA[
Your best option would be to use the "open" command with pipes. This allows you to interact with the stdin/stdout pipes of your script as if it was any ordinary file, while at the same time the script will not block tcl (and thus not eggdrop either).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Thu Aug 20, 2009 7:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[elal]]></name></author>
		<updated>2009-08-19T20:21:28-04:00</updated>

		<published>2009-08-19T20:21:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=89981#p89981</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=89981#p89981"/>
		<title type="html"><![CDATA[External script taking too long to execute?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=89981#p89981"><![CDATA[
I am writing a TCL script for the eggdrop bot. The primary function of this TCL script is to call an external BASH script. The BASH script takes a variable amount of time to execute, because it must first download software, and sometimes that software is rather large. <br><br>During those times when the BASH script is downloading a large file, there appears to be some sort of time-out issue, because the TCL script never produces any result to the channel. The external BASH script succeeds, but its output never reaches the TCL script which called it.<br><br>During those times when the bash script is only downloading *small* files, the output from the bash script reaches the TCL caller, and everything is fine. <br><br>Is anyone familiar with external script timeouts in eggdrop/TCL scripts?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10822">elal</a> — Wed Aug 19, 2009 8:21 pm</p><hr />
]]></content>
	</entry>
	</feed>
