Ticket #42776: base-utils.py.patch
File base-utils.py.patch, 465 bytes (added by okmacports@…, 11 years ago) |
---|
-
base/utils.py
old new 2214 2214 2215 2215 try: 2216 2216 process = {} 2217 p1 = Popen(["ps", " -w", "-w", "aux"], stdout=PIPE)2217 p1 = Popen(["ps", "auxww"], stdout=PIPE) 2218 2218 p2 = Popen(["grep", process_name], stdin=p1.stdout, stdout=PIPE) 2219 2219 p3 = Popen(["grep", "-v", "grep"], stdin=p2.stdout, stdout=PIPE) 2220 2220 output = p3.communicate()[0]