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 
> <cocoa-dev@lists.apple.com> 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 (Cocoa-dev@lists.apple.com)
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com
> 
> This email sent to z...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to