-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
To restart the system apps like Finder or Dock, shouldn't we be sending kill signal instead of term?
killall Finder sends SIGTERM where as killall -KILL Finder sends SIGKILL.
So I think, the relevant code should be:
killTask.launchPath = "/usr/bin/killall"
killTask.arguments = ["-KILL", "Finder"]
killTask.launch()
if you think this is correct, I will send a PR 😃
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels