Re: Sending SIGUSR1 to a process
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