Re: Substitute for kill(2)?
Re: Substitute for kill(2)?
- Subject: Re: Substitute for kill(2)?
- From: Alex Zavatone via Cocoa-dev <email@hidden>
- Date: Tue, 25 Jul 2023 07:15:53 -0500
What if you called a method in the other process and the other process kills
itself with a kill?
Is kill no longer functional from any process?
> On Jul 25, 2023, at 2:49 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> Is there a simple way for one process to send a single signal to another
> process?
> Both processes are my programs, one is a regular app, the other a menu bar
> item.
> Both are launched by the same user.
>
> In the old unix days, I would have used kill(2) and send a SIGUSR1 , but as
> far as I understand, this is no longer possible.
> (At least, not without privilege elevation, which seems too complicated.)
>
> All hints and ideas will be appreciated!
> Best regards, Gabriel
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden