# HG changeset patch # User Jeff Hammel # Date 1320807921 28800 # Node ID f9863f73334475f3aa099340b42f989d9659c719 # Parent 7f594703d75e56ccbbdac5d53feefdf42fac8a0f fix up a bit diff -r 7f594703d75e -r f9863f733344 python/process.py --- 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 """