Zhaoming Luo, le mar. 04 févr. 2025 16:01:09 +0800, a ecrit: > On Mon, Feb 03, 2025 at 01:21:44PM +0100, Samuel Thibault wrote: > > Zhaoming Luo, le lun. 03 févr. 2025 20:05:38 +0800, a ecrit: > > > I did the experiments using my own C waiting program and `sleep` shell > > > command respectively. They gave me the same result. It seems the sleep > > > program was not executed at all. > > > > I'm just surprised since it has out_io and err_io set to null. > > I think the test writer just didn't want to be bothered by the error > message of the sleep command [0][1]. > > [0]: https://vimhelp.org/channel.txt.html#job-out_io > [1]: https://vimhelp.org/channel.txt.html#job-err_io
I'm not questioning "why" vim set out_io and err_io, but what I had written just above what you quoted: « possibly it's "all readable fds are closed" that somehow is detected differently on GNU/Linux and GNU/Hurd. » Only out_io and err_io are supposed to be readable. Or did they mean from the point of view of the executed process. Again, it means check what exactly happens to end up with "all readable fds are closed" Samuel