<?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/4323" />

	<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>2003-05-06T15:40:30-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2003-05-06T15:40:30-04:00</updated>

		<published>2003-05-06T15:40:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19888#p19888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19888#p19888"/>
		<title type="html"><![CDATA[defunct process]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19888#p19888"><![CDATA[
Yes - after you have finished outputting the information to IRC, you need to close the file pointer to the program, so it returns.<br><br>Use <div class="codebox"><p>Code: </p><pre><code>close $input</code></pre></div>After the while loop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue May 06, 2003 3:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tR]]></name></author>
		<updated>2003-05-06T15:36:29-04:00</updated>

		<published>2003-05-06T15:36:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19887#p19887</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19887#p19887"/>
		<title type="html"><![CDATA[defunct process]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19887#p19887"><![CDATA[
i have following code:<br>set host [lindex [string tolower $text] 0]<br>set hostpath "/usr/local/bin/host"<br>set input [open "|$hostpath $host "]<br>  while {![eof $input]} { <br>  set tmp [gets $input]<br>  putchan $channel "$tmp"<br>}<br>problem is that i got on shell:<br>tR       21964  0.0  0.0     0    0 ?        Z    May04   0:00 [host &lt;defunct&gt;]<br>tR       21977  0.0  0.0     0    0 ?        Z    May04   0:00 [host &lt;defunct&gt;]<br>processes after executing that a few times. <br>Someone knows how to fix/avoid that?<br>Thanx in advance, tR<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=509">tR</a> — Tue May 06, 2003 3:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
