licunlong <shenxiao...@163.com> added the comment:
But one more question. Please take a look at fd.py. In this file, we first close fd 0, then open /dev/null as fd_null, and dump fd_null to fd 0. After we fork new process, this fd 0 `is` inherited. This seems to be a bug? ---------- nosy: +Geass-LL _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46454> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com