Skip to content

Instantly share code, notes, and snippets.

@gaqzi
Created October 8, 2016 15:39
Show Gist options
  • Save gaqzi/f57649e7bbec41a5b93e5292a8be4e7f to your computer and use it in GitHub Desktop.
Save gaqzi/f57649e7bbec41a5b93e5292a8be4e7f to your computer and use it in GitHub Desktop.
while process.returncode is None:
process.poll()
self._log_from_process(process, 1)
else:
self._log_from_process(process)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment