Skip to content

Commit

Permalink
Add a note about why there is no timeout in the processes' terminate …
Browse files Browse the repository at this point in the history
…method
  • Loading branch information
MaZderMind committed May 4, 2015
1 parent 879c7c3 commit d5a1ffb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python-api/gstswitch/process_monitor.py
Expand Up @@ -86,6 +86,9 @@ def terminate(self):
len(chunk))
self._cmd_output_target.write(chunk)

# TODO: In python3 I'd add a timeout here but because of the forced
# python2 compatibility it's not that simple. Using subprocess32
# requires different patching in the unit-tests.
self.log.debug("waiting for the subprocess to die")
super(ProcessMonitor, self).communicate()

Expand Down

0 comments on commit d5a1ffb

Please sign in to comment.