# File lib/posix/spawn.rb, line 174 def pspawn(*args) env, argv, options = extract_process_spawn_arguments(*args) raise NotImplementedError unless respond_to?(:_pspawn) if defined? JRUBY_VERSION # On the JVM, changes made to the environment are not propagated down # to C via get/setenv, so we have to fake it here. unless options[:unsetenv_others] == true env = ENV.merge(env) options[:unsetenv_others] = true end end _pspawn(env, argv, options) end