https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98362
--- Comment #3 from cqwrteur <unlvsur at live dot com> --- (In reply to Nathan Sidwell from comment #2) > Created attachment 49797 [details] > test patch > > care to try this? Sure BTW. Windows do provide a flag O_NOINHERIT which matches O_CLOSEXEC.