add context menu to processes view + add more shit you can do.
This commit is contained in:
@@ -90,3 +90,11 @@ func listProcesses() ([]wire.ProcessInfo, error) {
|
||||
func killProcess(pid int32) error {
|
||||
return syscall.Kill(int(pid), syscall.SIGKILL)
|
||||
}
|
||||
|
||||
func suspendProcess(pid int32) error {
|
||||
return syscall.Kill(int(pid), syscall.SIGSTOP)
|
||||
}
|
||||
|
||||
func resumeProcess(pid int32) error {
|
||||
return syscall.Kill(int(pid), syscall.SIGCONT)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user