Any call to system(3) causes stdin to always return EOF, not just in the calling program, but any program reading from stdin in cooked mode. The problem persists even after running reset(1).
(Edit: I don't remember how I tested running reset, I suspect it was with another call to system(3).)
This only happens if /bin/sh
points to /bin/Shell
. Using ln -sf /bin/bash mnt/bin/sh
in sync-local.sh solves the problem.
This also somehow causes sys.stdin.readline
to hang in Python after hitting enter.
Last tested 2024-11-06 2f6573a
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too