# HG changeset patch # User cmlenz # Date 1136893542 0 # Node ID b0a77f62bb38091a27df4c2fe314c68d47c4e11d # Parent bc6285c0e71ff516fbba6eb0fd0671bbd4d29e84 Remove null characters from commandline output on windows. Closes #77. diff --git a/bitten/build/api.py b/bitten/build/api.py --- a/bitten/build/api.py +++ b/bitten/build/api.py @@ -127,8 +127,8 @@ os.chdir(old_cwd) for out_line, err_line in _combine(out_lines, err_lines): - yield out_line and out_line.rstrip(), \ - err_line and err_line.rstrip() + yield out_line and out_line.rstrip().replace('\x00', ''), \ + err_line and err_line.rstrip().replace('\x00', '') else: # posix