• 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
Substitute for kill(2)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Substitute for kill(2)?


  • Subject: Substitute for kill(2)?
  • From: Gabriel Zachmann via Cocoa-dev <email@hidden>
  • Date: Tue, 25 Jul 2023 09:49:10 +0200

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



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Alex Zavatone via Cocoa-dev <email@hidden>
  • Prev by Date: Re: "Z" in setDateFormat ?
  • Next by Date: Re: Substitute for kill(2)?
  • Previous by thread: Re: "Z" in setDateFormat ?
  • Next by thread: Re: Substitute for kill(2)?
  • Index(es):
    • Date
    • Thread