Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/isolate/backends/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _io_observer(

def forward_lines(fd: int) -> None:
hook = hooks[fd]
with open(fd, closefd=False) as stream:
with open(fd, closefd=False, errors="backslashreplace") as stream:
# TODO: we probably should pass the real line endings
raw_data = stream.read()
if not raw_data:
Expand Down
Loading