Event when the Finder is restarted?

Can we handle an event that triggers when the Finder is restarted with a command like “killall Finder”? (with or without MBS)
Thanks

Maybe the NSWorkspaceMBS.NSWorkspaceDidLaunchApplicationNotification method helps with NSNotificationObserverMBS class to catch this event on macOS.

Thank you, I succeeded from the example /MacCocoa/NSWorkspace Notifications.

1 Like