[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is Process.Signal still unusable?
[Thread Prev] | [Thread Next]
- Subject: Re: Is Process.Signal still unusable?
- From: Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
- Date: Wed, 24 Dec 2025 20:39:18 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
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.
| Re: Is Process.Signal still unusable? | Lee <t.lee.davidson@xxxxxxxxx> |
| Is Process.Signal still unusable? | Lee <t.lee.davidson@xxxxxxxxx> |