ACN Process Management #345

Merged
dan merged 14 commits from torrc into master 2020-10-21 23:58:59 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d35ff1395f - Show all commits

View File

@ -20,7 +20,7 @@ func CheckProcessAndKill(pid uint64, processName string) {
// Image Name PID Session Name Session# Mem Usage
// ========================= ======== ================ =========== ============
// process.exe <PID> Services 0 8,936 K
lines := strings.Split(string(bytes),"\n")
lines := strings.Split(strings.TrimSpace(string(bytes)),"\n")
log.Debugf("%v\n", lines)
// check for "<process>.exe"