source: in-house "de-linuxize" the ps args --- hplip-3.25.6/base/utils.py.orig +++ hplip-3.25.6/base/utils.py @@ -2371,7 +2371,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]