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

Re: Is Process.Signal still unusable?


Le 24/12/2025 à 20:06, Lee a écrit :
https://gambaswiki.org/wiki/comp/gb/process/signal says:
"Do not use this method. It is used internally by the IDE debugger."

Is this method still not to be used?

Yes.


It would be handy to be able to send a signal (other than SIGKILL, such as SIGTERM) to a process. I know I can shell out to `kill` to send a signal, but that seems a bit clunky when I already have a handle on the process.


You must use the 'gb.signal' component to be able to send and catch Unix signals.

Regards,

--
Benoît Minisini.


Follow-Ups:
Re: Is Process.Signal still unusable?Lee <t.lee.davidson@xxxxxxxxx>
References:
Is Process.Signal still unusable?Lee <t.lee.davidson@xxxxxxxxx>