Bill Allombert on Thu, 19 Sep 2024 23:31:51 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: concurrent computation of a function


On Thu, Sep 19, 2024 at 05:13:02PM -0400, Max Alekseyev wrote:
> Hi Bill,
> 
> I'm also looking at using extern(). How can one perform necessary process
> control from inside the GP?
> I'd like to perform the following actions:
> * to run two other GP scripts with extern();
> * get a result from whoever first produces it;
> * kill the remaining GP rocess.
> Does GP have a suitable functionality for that?

No, but the shell does. Since you are using extern, you need to use 
the shell anyway.

Cheers,
Bill.