Martin Husemann added the comment:
You need to exit the parent shell, to get the original stdin revoke(2)'d.
That is: the Ctrl-D in the original descritpion is not line noise. Sorry,
should have been more explicit (or used "exit" or so
New submission from Martin Husemann :
When building python extensions in the background w/o stdin (and stderr and
stdout redirected to a log file), the invocation of setup.py fails.
Normal build in a shell:
Example from pyexpat:
> /usr/pkg/bin/python3.6 setup.py build
running build
runn