childprocess
https://github.com/enkessler/childprocess
Ruby
Cross-platform Ruby library for managing child processes.
ChildProcess.close_on_exec
By default, a child process will inherit open file descriptors from the parent process. This helper provides a cross-platform way of making sure that doesn't happen for the given file/io.
Edit
git clone [email protected]:enkessler/childprocess.git
cd childprocess
open lib/childprocess.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ChildProcess-close_on_exec-for-pr
# Commit to gitgit add lib/childprocess.rbgit commit -m "better docs for ChildProcess.close_on_exec"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ChildProcess-close_on_exec-for-pr
hub pull-request
# Celebrate!