From 0614dbfbfb8688b59ad7b9424d2e9ddc4b198858 Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Tue, 5 Feb 2019 14:41:04 -0800 Subject: [PATCH] Fix cropped process names on OSX (#47) --- src/widgets/proc_other.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/proc_other.go b/src/widgets/proc_other.go index 449e952..f386a66 100644 --- a/src/widgets/proc_other.go +++ b/src/widgets/proc_other.go @@ -29,7 +29,7 @@ func (self *Proc) update() { } func Processes() ([]Process, error) { - output, err := exec.Command("ps", "-caxo", "pid,comm,pcpu,pmem,args").Output() + output, err := exec.Command("ps", "-wwcaxo", "pid,comm,pcpu,pmem,args").Output() if err != nil { return nil, fmt.Errorf("failed to execute 'ps' command: %v", err) }