in reply to Comparing close-on-exec behaviour between Unix and Windows
tye's Win32API::File contains all the code that is needed to implement this particular piece of the panopoly of fcntl() functionality. Namely FdGetOsFHandle() to gain access to the native filehandle, and SetHandleInformation() to set/clear the inheritability flag on that handle.
|
---|