Allow arbitrary bytes in output. Resolves #245

This commit is contained in:
Anthony Sottile 2015-07-23 12:59:13 -07:00
parent 826aa4cebd
commit 66b1d39c6e
11 changed files with 104 additions and 50 deletions

View file

@ -22,6 +22,7 @@ def run_hook(env, hook, file_args):
' '.join(['xargs', '-0', '-s4000', hook['entry']] + quoted_args),
stdin=file_args_to_stdin(file_args),
retcode=None,
encoding=None,
)