Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Provide pid at ProcessHandler #32

Closed
wants to merge 1 commit into from

2 participants

Thinker Jeff Hammel
Thinker

No description provided.

Jeff Hammel
Collaborator
k0s commented
Jeff Hammel
Collaborator
k0s commented

Can I ask the reason you want this?

Jeff Hammel
Collaborator
k0s commented

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

Showing 1 unique commit by 1 author.

Aug 15, 2012
Provide pid at ProcessHandler b159a39
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  mozprocess/mozprocess/processhandler.py
4  mozprocess/mozprocess/processhandler.py
@@ -754,6 +754,10 @@ def _readWithTimeout(self, f, timeout):
754 754
                 return ('', True)
755 755
             return (f.readline(), False)
756 756
 
  757
+    @property
  758
+    def pid(self):
  759
+        return self.proc.pid
  760
+
757 761
 
758 762
 ### default output handlers
759 763
 ### these should be callables that take the output line
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.