• 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: Sending SIGUSR1 to a process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending SIGUSR1 to a process


  • Subject: Re: Sending SIGUSR1 to a process
  • From: Alex Zavatone via Cocoa-dev <email@hidden>
  • Date: Mon, 29 Jan 2024 10:01:07 -0600

A long time ago, I was issuing terminal commands from Xcode.

I’ve got a simple console app that executes a SIP export to PDF and another
case where I was executing a sleep of the current process.

You can even execute an Applescript to perform a terminal command.

This may help.

https://forums.developer.apple.com/forums/thread/90111

Cheers,
Alex Zavatone

> On Jan 29, 2024, at 1:06 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> IIRC, one process cannot send a Unix signal to another one.
> At least, not any more, and not without special privileges.
>
> But would it be possible for a user to send a SIGUSR1 (using 'kill -30 <pid>'
> on the command line) to a process they own?
>
> I couldn't find information about that.
> In fact, in the developer docs i couldn't find any info about Unix signals,
> what is possible or not under the new security regime in macOS.
> (I can't remember where i read about the new limitations regarding signals
> under the new security regime.)
>
> Any info will be highly 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

References: 
 >Sending SIGUSR1 to a process (From: Gabriel Zachmann via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Sending SIGUSR1 to a process
  • Next by Date: Figma UI/UX?
  • Previous by thread: Re: Xcode interferes with signal handler (was: Sending SIGUSR1 to a process)
  • Next by thread: Figma UI/UX?
  • Index(es):
    • Date
    • Thread