Skip to content

Commit

Permalink
Merge branch 'issue-44-solaris-support' of github.com:pexpect/pexpect…
Browse files Browse the repository at this point in the history
… into issue-44-solaris-support
  • Loading branch information
jquast committed Jun 1, 2014
2 parents 800775f + 822ffc8 commit aa427e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pexpect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,11 @@ def _spawn(self, command, args=[]):

# Parent
self.setwinsize(24, 80)
self.setecho(self.echo)
try:
self.setecho(self.echo)
except OSError:
# Solaris, etc. cannot set echo from master
pass
self.terminated = False
self.closed = False

Expand Down

0 comments on commit aa427e0

Please sign in to comment.