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

	<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-06-25T15:58:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-25T15:58:31-04:00</updated>

		<published>2003-06-25T15:58:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22586#p22586</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22586#p22586"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22586#p22586"><![CDATA[
i am not sur what you mean how can i see if the program is done ?? i mean finished it takes up a day somethimes ??? so .. ?? hmm well .. deppends realy on the amount of data it has to proces.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Jun 25, 2003 3:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-25T15:18:10-04:00</updated>

		<published>2003-06-25T15:18:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22582#p22582</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22582#p22582"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22582#p22582"><![CDATA[
Yes. Like I said, you have to detect when the program is done yourself (eof). At that point you can close the file and the other program will terminate.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Wed Jun 25, 2003 3:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-25T08:38:30-04:00</updated>

		<published>2003-06-25T08:38:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22556#p22556</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22556#p22556"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22556#p22556"><![CDATA[
hmm i think i know what you mean and its not a while but it seems if i use open the eggy keeps open the file ... so wen it ends it is still running but .. the program is not active no more so .. ? maybe it is an error in the exe it self :/ don't realy know but it should close by it self .. :/ it normaly does, is it possible that the eggy keeps the file open ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Wed Jun 25, 2003 8:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-24T22:34:56-04:00</updated>

		<published>2003-06-24T22:34:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22526#p22526</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22526#p22526"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22526#p22526"><![CDATA[
fileevent should work nicely if you configure the handle for nonblocking operations, or you can use a while loop with 'eof' and 'gets' to poll for it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Tue Jun 24, 2003 10:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-24T21:48:06-04:00</updated>

		<published>2003-06-24T21:48:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22520#p22520</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22520#p22520"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22520#p22520"><![CDATA[
ok nice works just one more question how do i make an even when the exe ends ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Jun 24, 2003 9:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-17T08:23:50-04:00</updated>

		<published>2003-06-17T08:23:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=22030#p22030</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=22030#p22030"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=22030#p22030"><![CDATA[
oh i think that is what i wanted tnx nice thing so from the start i use open the program runs ???<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Tue Jun 17, 2003 8:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-16T15:01:33-04:00</updated>

		<published>2003-06-16T15:01:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21955#p21955</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21955#p21955"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21955#p21955"><![CDATA[
Open can run a program just like exec, except it makes the other program run in the background.<br><br>So if you use open, you don't also use exec.<br><br>Read the part of the help page for open titled "COMMAND PIPELINES."<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Jun 16, 2003 3:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-16T14:56:40-04:00</updated>

		<published>2003-06-16T14:56:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21953#p21953</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21953#p21953"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21953#p21953"><![CDATA[
oh it is like monitor .. ? like if your gone do lots of stuff with the file or refering to the to the file .. you can use this ?? open thing ? then exec ... ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Mon Jun 16, 2003 2:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2003-06-14T18:27:22-04:00</updated>

		<published>2003-06-14T18:27:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21829#p21829</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21829#p21829"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21829#p21829"><![CDATA[
See <a href="http://tcl.activestate.com/man/tcl8.2.3/TclCmd/open.htm" class="postlink">this</a> page..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Jun 14, 2003 6:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-14T18:05:16-04:00</updated>

		<published>2003-06-14T18:05:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21828#p21828</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21828#p21828"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21828#p21828"><![CDATA[
Read the help page for "open"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Sat Jun 14, 2003 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-14T15:55:52-04:00</updated>

		<published>2003-06-14T15:55:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21824#p21824</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21824#p21824"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21824#p21824"><![CDATA[
means open also that it is executed ? ? or is that just a part of the proc file ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sat Jun 14, 2003 3:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-06-13T13:38:25-04:00</updated>

		<published>2003-06-13T13:38:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21771#p21771</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21771#p21771"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21771#p21771"><![CDATA[
You should have asked about getting the pid of the new process then. As a matter of fact, you can, but as it says on the help page for "pid" you can't do it with exec. Use the "open" command to run the program and then use the "pid" command with the file handle that open returns to get the child process's pid.<br><br>set fp [open "|someprogram arg1 arg2" "r+"]<br>putserv "privmsg #sheep :pid of child is [pid $fp]"<br><br>You'll have to change your program some because open and exec work a bit differently.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Fri Jun 13, 2003 1:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-13T07:24:37-04:00</updated>

		<published>2003-06-13T07:24:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21757#p21757</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21757#p21757"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21757#p21757"><![CDATA[
well this is nice but it only shows the eggdrop.exe pid ?? And not the pid of an exec filename.exe .... nice to know but not exaclty what i was looking for <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> hehe<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Fri Jun 13, 2003 7:24 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ReaLz]]></name></author>
		<updated>2003-06-12T17:53:05-04:00</updated>

		<published>2003-06-12T17:53:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21746#p21746</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21746#p21746"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21746#p21746"><![CDATA[
yes you can<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2044">ReaLz</a> — Thu Jun 12, 2003 5:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2003-06-12T15:45:18-04:00</updated>

		<published>2003-06-12T15:45:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=21743#p21743</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=21743#p21743"/>
		<title type="html"><![CDATA[how to get a pid from an exe]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=21743#p21743"><![CDATA[
euhm so if i run an exec from tcl i can echo the pid like that ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Thu Jun 12, 2003 3:45 pm</p><hr />
]]></content>
	</entry>
	</feed>
