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

	<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>2021-04-19T16:40:13-04:00</updated>

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

		<entry>
		<author><name><![CDATA[haferbrei]]></name></author>
		<updated>2021-04-19T16:40:13-04:00</updated>

		<published>2021-04-19T16:40:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109751#p109751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109751#p109751"/>
		<title type="html"><![CDATA[Re: thread]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109751#p109751"><![CDATA[
<blockquote class="uncited"><div><br>I'm fuzzy on this - been a long time -  but you can use the <br>open<br>command with pipes to deal with this.<br></div></blockquote>i tried it with &amp;, but it doesnt help at all. I get the message (!) timer drift -- spun 2 minutes<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12860">haferbrei</a> — Mon Apr 19, 2021 4:40 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2021-04-12T22:43:47-04:00</updated>

		<published>2021-04-12T22:43:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109735#p109735</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109735#p109735"/>
		<title type="html"><![CDATA[Re: thread]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109735#p109735"><![CDATA[
<blockquote class="uncited"><div>...<br>How can I move the script to a thread?<br>...</div></blockquote>I think there is a Thread package.  However I am not familiar with it.   Maybe someone else here will comment on it.<br><br>You're running into what is called: blocking.<br><br>I'm fuzzy on this - been a long time -  but you can use the <br>open<br>command with pipes to deal with this.<br><br>No doubt you can use the search function here in the forum, and find lots on the open command.<br>Perhaps even something on that Thread package, too.<br><br>Here's one post that might interest you:<br><a href="http://forum.egghelp.org/viewtopic.php?p=100611" class="postlink">http://forum.egghelp.org/viewtopic.php?p=100611</a><br><br>I see a comment in some code there:<div class="codebox"><p>Code: </p><pre><code>...# Description:## This script is for other scripters to use as a replacement# for the "exec" command so that they may execute commands to# the system in the background. (non-blocking mode) ...</code></pre></div>which sure sounds like what you are looking for.    <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>Have a read, and see if there is anything there of use to you.   <br>I'm sorry that I can't give you a more direct answer.  <br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Mon Apr 12, 2021 10:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[haferbrei]]></name></author>
		<updated>2021-04-12T19:14:19-04:00</updated>

		<published>2021-04-12T19:14:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=109733#p109733</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=109733#p109733"/>
		<title type="html"><![CDATA[thread]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=109733#p109733"><![CDATA[
I want to run a bash script that packs folders. This takes a little time and during this time the bot is not responsive.<br>How can I move the script to a thread?<div class="codebox"><p>Code: </p><pre><code>set zipper [thread::create {puts "Starting zipper thread"exec bash.script}]</code></pre></div>Unfortunately, this does not work.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12860">haferbrei</a> — Mon Apr 12, 2021 7:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
