Skip to content

Commit

Permalink
Implement telemetry GetCommandLine for Mac
Browse files Browse the repository at this point in the history
BUG=

Review URL: https://chromiumcodereview.appspot.com/14989009

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199623 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
ccameron@chromium.org committed May 11, 2013
1 parent ddca2f7 commit 4a7f068
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ def GetChildPids(self, pid):
return child_pids

def GetCommandLine(self, pid):
raise NotImplementedError()
return subprocess.Popen(['ps', '-p', str(pid), '-o', 'command='],
stdout=subprocess.PIPE).communicate()[0]

0 comments on commit 4a7f068

Please sign in to comment.