If an exec was issued the module (in memory) would be blown-away, ...
Yes, in the child, only.
But, the exec'd program would inherit the open file descriptor, which (I thought) might be why the OP want's to close it it. Hence the mench.
In reply to Re^3: Detecting fork events in a module?
by BrowserUk
in thread Detecting fork events in a module?
by kingkongrevenge
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |