-
Notifications
You must be signed in to change notification settings - Fork 914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unnecessary file descriptors not being closed when executing spawn #8234
Comments
The Open3.popen3 method uses spawn internally, so unnecessary file descriptors are not closed in the same way.
On the other hand, when using IO.popen3, unnecessary file descriptors are closed as follows:
By the way, it seems that the :pid of the fourth return value of IO.popen3 is incorrect:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment Information
Expected Behavior
When executing spawn, unnecessary file descriptors should be closed.
Actual Behavior
When executing a child process with spawn, unnecessary file descriptors remain open in the child process as shown below:
The text was updated successfully, but these errors were encountered: