Page 1 of 1 1
Topic Options
#81688 - 2003-06-17 01:11 PM @PID: KiXtart process ID
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Any chance of an @PID macro to return the process ID of the KiXtart process?
Top
#81689 - 2003-06-17 01:48 PM Re: @PID: KiXtart process ID
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Richard,
That'd be a nicer one.
Can you specify the need a bit ?
_________________________



Top
#81690 - 2003-06-17 02:56 PM Re: @PID: KiXtart process ID
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Specifically I have a Master Control Program which fires off tasks and I want to monitor them.

The simple solution is that a task passes back its own process ID to the MCP. The MCP can use to check the task status, communicate with it via a message queue and kill it off if needed.

I *can* get the PID by parsing the process list, but a macro would be simpler and should be trivial to implement.

Top
#81691 - 2003-06-17 03:00 PM Re: @PID: KiXtart process ID
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
My vote for that [Big Grin]
_________________________



Top
#81692 - 2003-06-17 03:15 PM Re: @PID: KiXtart process ID
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
Definitely gets my vote, too.
_________________________
There are two types of vessels, submarines and targets.

Top
#81693 - 2003-07-21 09:31 AM Re: @PID: KiXtart process ID
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Implemented since 4.22 Beta 1 [Big Grin]
_________________________



Top
#81694 - 2003-07-21 10:18 AM Re: @PID: KiXtart process ID
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Excellent. Many thanks Ruud.
Top
Page 1 of 1 1


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 154 anonymous users online.
Newest Members
vertage, dimi575, Drecksnacken, Nlill, webtools321
17735 Registered Users

Generated in 0.123 seconds in which 0.052 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org