Show More
@@ -187,7 +187,9 class ProcessHandler(object): | |||||
187 |
|
187 | |||
188 | # We follow the subprocess pattern, returning either the exit status |
|
188 | # We follow the subprocess pattern, returning either the exit status | |
189 | # as a positive number, or the terminating signal as a negative |
|
189 | # as a positive number, or the terminating signal as a negative | |
190 | # number. sh returns 128+n for signals |
|
190 | # number. | |
|
191 | # on Linux, sh returns 128+n for signals terminating child processes on Linux | |||
|
192 | # on BSD (OS X), the signal code is set instead | |||
191 | if child.exitstatus is None: |
|
193 | if child.exitstatus is None: | |
192 | # on WIFSIGNALED, pexpect sets signalstatus, leaving exitstatus=None |
|
194 | # on WIFSIGNALED, pexpect sets signalstatus, leaving exitstatus=None | |
193 | if child.signalstatus is None: |
|
195 | if child.signalstatus is None: |
General Comments 0
You need to be logged in to leave comments.
Login now