changeset 182:f9863f733344

fix up a bit
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 08 Nov 2011 19:05:21 -0800
parents 7f594703d75e
children 748c232c0af3
files python/process.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/python/process.py	Mon Nov 14 11:55:15 2011 -0800
+++ b/python/process.py	Tue Nov 08 19:05:21 2011 -0800
@@ -26,9 +26,8 @@
 
 def running_processes(name, defunct=True):
     """
-    returns a list of 
-    {'PID': PID of process (int)
-     'command': command line of process (list)}
+    returns a list of 2-tuples of running processes:
+    (pid, ['path/to/executable', 'args', '...'])
      with the executable named `name`.
      - defunct: whether to return defunct processes
     """