Skip to content

Commit

Permalink
Fix regression caused by 0cead77
Browse files Browse the repository at this point in the history
  • Loading branch information
zachriggle committed Jan 4, 2017
1 parent cca9782 commit 3dd6045
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pwnlib/tubes/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

class PTY(object): pass
PTY=PTY()
STDOUT = subprocess.STDOUT
PIPE = subprocess.PIPE

class process(tube):
r"""
Expand Down Expand Up @@ -193,8 +195,8 @@ class process(tube):
>>> p = process(binary.path)
"""

STDOUT = subprocess.STDOUT
PIPE = subprocess.PIPE
STDOUT = STDOUT
PIPE = PIPE
PTY = PTY

#: Have we seen the process stop?
Expand Down

0 comments on commit 3dd6045

Please sign in to comment.