You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2018. It is now read-only.
Using RUBY_PLATFORM under JRuby always returns java therefore
this should never be used to detect the OS under JRuby.
This causes problems under Windows and JRuby because subexec detects JRuby successfully so it calls exec. However, exec then does if !(RUBY_PLATFORM =~ /win32|mswin|mingw/).nil? which is totally pointless under JRuby since RUBY_PLATFORM will always return java so it will always execute self.output = LANG=#{lang} && export $LANG && #{command} 2>&1`` regardless of the underlying OS. Executing this on Windows is going to fail instantly because it does not understand LANG=. @Gissues:{"order":40,"status":"backlog"}