Richard H.Administrator
(KiX Supporter)
2003-06-17 01:11 PM
@PID: KiXtart process ID

Any chance of an @PID macro to return the process ID of the KiXtart process?

JochenAdministrator
(KiX Supporter)
2003-06-17 01:48 PM
Re: @PID: KiXtart process ID

Richard,
That'd be a nicer one.
Can you specify the need a bit ?


Richard H.Administrator
(KiX Supporter)
2003-06-17 02:56 PM
Re: @PID: KiXtart process ID

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.


JochenAdministrator
(KiX Supporter)
2003-06-17 03:00 PM
Re: @PID: KiXtart process ID

My vote for that [Big Grin]

Sealeopard
(KiX Master)
2003-06-17 03:15 PM
Re: @PID: KiXtart process ID

Definitely gets my vote, too.

JochenAdministrator
(KiX Supporter)
2003-07-21 09:31 AM
Re: @PID: KiXtart process ID

Implemented since 4.22 Beta 1 [Big Grin]

Richard H.Administrator
(KiX Supporter)
2003-07-21 10:18 AM
Re: @PID: KiXtart process ID

Excellent. Many thanks Ruud.