Join GitHub today
Add native.popen option to disable native popen. #5921
Our native subprocess logic has some quirks, and for cases where
Our native subprocess logic has some quirks, and for cases where it is a problem like #5911 it would be good to be able to disable native popen/spawn/backquote without disabling all of native support. This PR adds the property `jruby.native.popen` defaulting to true. Users can force the use of the built-in JDK process logic by passing `-Xnative.popen=false` to JRuby or passing to the JVM `-Djruby.native.popen=false`.