diff options
Diffstat (limited to 'binary_search_tool/compiler_wrapper.py')
-rwxr-xr-x | binary_search_tool/compiler_wrapper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binary_search_tool/compiler_wrapper.py b/binary_search_tool/compiler_wrapper.py index 8755ed42..0fd92c67 100755 --- a/binary_search_tool/compiler_wrapper.py +++ b/binary_search_tool/compiler_wrapper.py @@ -37,7 +37,7 @@ BISECT_DIR = os.environ.get('BISECT_DIR') or DEFAULT_BISECT_DIR def ProcessArgFile(arg_file): args = [] # Read in entire file at once and parse as if in shell - with open(arg_file, 'rb') as f: + with open(arg_file, 'r', encoding='utf-8') as f: args.extend(shlex.split(f.read())) return args |