Skip to content

Commit

Permalink
Fix test_stdout_file
Browse files Browse the repository at this point in the history
  • Loading branch information
Omri Bahumi committed May 4, 2015
1 parent 1da4cc3 commit 75bbf90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sh.py
Original file line number Diff line number Diff line change
Expand Up @@ -1854,6 +1854,9 @@ def finish():
if hasattr(handler, "flush"):
handler.flush()

if hasattr(handler, "close"):
handler.close()

return process, finish

def get_callback_chunk_consumer(handler, encoding, decode_errors):
Expand Down

0 comments on commit 75bbf90

Please sign in to comment.