Use Case
From #39, we fixed a bug to only close integer file descriptors in /proc/self, but we should probably have a safer/standard way to track and close open fds that aren't standard in/out/error.
Describe the solution you would like
We figure out what fd are open and close them without regex.
Describe alternatives you've considered
No response
Additional context
No response