mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-13 15:54:10 +09:00
feat: added -9 code to kill command when killing the process from the popup view (#2900)
This commit is contained in:
@@ -265,7 +265,7 @@ public class ProcessView: NSStackView {
|
||||
|
||||
@objc private func kill() {
|
||||
if let pid = self.pid {
|
||||
asyncShell("kill \(pid)")
|
||||
_ = syncShell("kill -9 \(pid)")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user