Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Provide pid at ProcessHandler #32

Closed
wants to merge 1 commit into from

2 participants

Thinker Jeff Hammel
Thinker

No description provided.

Jeff Hammel
Owner

Can I ask the reason you want this?

Jeff Hammel
Owner

pushed: 7ebf8cf

Jeff Hammel k0s closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 15, 2012
  1. Provide pid at ProcessHandler

    Sinker Li authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 mozprocess/mozprocess/processhandler.py
4 mozprocess/mozprocess/processhandler.py
View
@@ -754,6 +754,10 @@ def _readWithTimeout(self, f, timeout):
return ('', True)
return (f.readline(), False)
+ @property
+ def pid(self):
+ return self.proc.pid
+
### default output handlers
### these should be callables that take the output line
Something went wrong with that request. Please try again.