Hi Josselin, Josselin Poiret skribis: > Sorry for not noticing this thread sooner! Here's my take on it, a minor > variation but that's what I'd prefer tbh. Even nicer! Pushed to ‘main’ as two patches (I folded the test along with the fix, for clarity) and with cosmetic changes to match GNU coding style for C. 36fd2b492 main origin/main Use /dev/null in 'piped-process' if port is not backed by a fdes. ccd7400fd Add error handling for spawn's posix_spawn_file_actions_adddup2. Thanks! Ludo’.