components/hplip/patches/08_posix.ps.patch
author Ben Chang <Benjamin.Chang@Oracle.COM>
Tue, 12 Jan 2016 17:16:02 -0800
changeset 5261 172253f94ecf
parent 4923 b9e3f6b6a101
permissions -rw-r--r--
22517767 Upgrade Solaris' DHCP to version 4.1-ESV-R7-P1 22501693 problem in SERVICE/DHCP-SERVER

source: in-house
"de-linuxize" the ps args

--- a/base/utils.py	2014-06-02 23:33:10.000000000 -0700
+++ b/base/utils.py	2014-07-01 13:44:00.526366599 -0700
@@ -2214,7 +2214,7 @@
 
     try:
         process = {}
-        p1 = Popen(["ps", "-w", "-w", "aux"], stdout=PIPE)
+        p1 = Popen(["ps", "-ef"], stdout=PIPE)
         p2 = Popen(["grep", process_name], stdin=p1.stdout, stdout=PIPE)
         p3 = Popen(["grep", "-v", "grep"], stdin=p2.stdout, stdout=PIPE)
         output = p3.communicate()[0]