summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwhuang8 <willhuang08@gmail.com>2019-02-10 08:16:12 -0600
committerwhuang8 <willhuang08@gmail.com>2019-02-10 08:16:12 -0600
commitd6008391c3d4000a9f4ed046f2a5271add8a9f95 (patch)
treea0004dd9e371cb9fce8439c6fe4972d1785af725
parent60b913a93e0737649e39b3dc56df85467da6b7e7 (diff)
Remove -ww from macOS ps call
-rw-r--r--src/widgets/proc_other.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/proc_other.go b/src/widgets/proc_other.go
index d872235..da0123c 100644
--- a/src/widgets/proc_other.go
+++ b/src/widgets/proc_other.go
@@ -37,7 +37,7 @@ func (self *Proc) update() {
func Processes() ([]Process, error) {
keywords := fmt.Sprintf("pid=%s,comm=%s,pcpu=%s,pmem=%s,args", ten, fifty, five, five)
- output, err := exec.Command("ps", "-wwcaxo", keywords).Output()
+ output, err := exec.Command("ps", "-caxo", keywords).Output()
if err != nil {
return nil, fmt.Errorf("failed to execute 'ps' command: %v", err)
}