Skip to content

Faster output and no deadlocks

Compare
Choose a tag to compare
@tusharsadhwani tusharsadhwani released this 29 Sep 18:01
· 44 commits to master since this release
  • Use the select module to do non-blocking reads from the shell process, instead of reading 1 byte at a time. Leads to significantly faster output for large streams, without any blocking.
  • Use process.communicate() to read stdout and stderr without causing deadlock due to buffer overflow.