Index: tools/task_kill.py |
=================================================================== |
--- tools/task_kill.py (revision 27098) |
+++ tools/task_kill.py (working copy) |
@@ -50,7 +50,7 @@ |
def GetPidsPosix(process_name): |
# This is to have only one posix command, on linux we could just do: |
# pidof process_name |
- cmd = 'ps -e -o pid=,comm=' |
+ cmd = 'ps -e -o pid= -o comm=' |
# Sample output: |
# 1 /sbin/launchd |
# 80943 /Applications/Safari.app/Contents/MacOS/Safari |