• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Substitute for kill(2)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Substitute for kill(2)?
      • From: Rob Petrovec via Cocoa-dev <email@hidden>
References: 
 >Substitute for kill(2)? (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)

  • Prev by Date: Substitute for kill(2)?
  • Next by Date: Re: Substitute for kill(2)?
  • Previous by thread: Substitute for kill(2)?
  • Next by thread: Re: Substitute for kill(2)?
  • Index(es):
    • Date
    • Thread