diff options
author | Caleb Bassi <calebjbassi@gmail.com> | 2019-02-05 14:41:04 -0800 |
---|---|---|
committer | Caleb Bassi <calebjbassi@gmail.com> | 2019-02-05 14:41:04 -0800 |
commit | 0614dbfbfb8688b59ad7b9424d2e9ddc4b198858 (patch) | |
tree | baf36ad06bb628d832e6c64e9e625b4727fb7dd0 | |
parent | d9607af03443f6e409ea75026653a0d85b193e4f (diff) |
Fix cropped process names on OSX (#47)
-rw-r--r-- | src/widgets/proc_other.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |