Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby/stdlib/open3.rb
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@

# Because spawn does not yet work on Windows, we fall back on the older open3 there.
real_open3 = true
if org.jruby.platform.Platform::IS_WINDOWS
if respond_to?(:org) && org.jruby.platform.Platform::IS_WINDOWS
require 'jruby/open3_windows'
real_open3 = false
end

0 comments on commit 2ec1b7a

Please sign in to comment.