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

	<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>2010-02-10T19:27:42-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Elfriede]]></name></author>
		<updated>2010-02-10T19:27:42-04:00</updated>

		<published>2010-02-10T19:27:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92046#p92046</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92046#p92046"/>
		<title type="html"><![CDATA[wget tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92046#p92046"><![CDATA[
i know an old thread, but how to make that run completely in the background or minimized? can someone please help<br><div class="codebox"><p>Code: </p><pre><code>set somevar [exec wget -b -O /var/www/temp/$filename $url]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9204">Elfriede</a> — Wed Feb 10, 2010 7:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-05-31T15:20:02-04:00</updated>

		<published>2008-05-31T15:20:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83327#p83327</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83327#p83327"/>
		<title type="html"><![CDATA[wget tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83327#p83327"><![CDATA[
Yes, kind of. Since wget will return immediately, it really won't return anything useful, so I don't see any use for the [].<br><br>Edit:<br>To be abit more clear;<div class="codebox"><p>Code: </p><pre><code>set somevar [exec wget -b -O /var/www/temp/$filename $url]</code></pre></div>This will not produce much interesting information into <em class="text-italics">somevar</em>, and you might just aswell just do like this:<div class="codebox"><p>Code: </p><pre><code>exec wget -b -O /var/www/temp/$filename $url</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat May 31, 2008 3:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pinkel]]></name></author>
		<updated>2008-05-31T07:43:01-04:00</updated>

		<published>2008-05-31T07:43:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83321#p83321</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83321#p83321"/>
		<title type="html"><![CDATA[wget tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83321#p83321"><![CDATA[
so someting like this will work?<br><div class="codebox"><p>Code: </p><pre><code>[exec wget -O -b /var/www/temp/$filename $url]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9942">pinkel</a> — Sat May 31, 2008 7:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2008-05-31T07:03:13-04:00</updated>

		<published>2008-05-31T07:03:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83319#p83319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83319#p83319"/>
		<title type="html"><![CDATA[wget tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83319#p83319"><![CDATA[
Be advised that <strong class="text-strong">exec</strong> will block code execution while the command is executed, so downloading large files or accessing slow servers this way may cause your bot to become unresponsive for some time and possibly disconnect from the irc network. You could of course tell wget to run in bg-mode using the -b flag, which would make the <strong class="text-strong">exec</strong>-command return instantly.<br><br>Another way is to use pipes with <strong class="text-strong">open</strong>, and then user <strong class="text-strong">fileevents</strong> to read any output from the command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat May 31, 2008 7:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-05-31T06:51:28-04:00</updated>

		<published>2008-05-31T06:51:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83316#p83316</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83316#p83316"/>
		<title type="html"><![CDATA[wget tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83316#p83316"><![CDATA[
You can execute shell commands using the [exec] Tcl command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sat May 31, 2008 6:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[pinkel]]></name></author>
		<updated>2008-05-31T05:30:20-04:00</updated>

		<published>2008-05-31T05:30:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=83315#p83315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=83315#p83315"/>
		<title type="html"><![CDATA[wget tcl]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=83315#p83315"><![CDATA[
Is it possible to use wget in .tcl?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9942">pinkel</a> — Sat May 31, 2008 5:30 am</p><hr />
]]></content>
	</entry>
	</feed>
