Skip to content

Commit

Permalink
Don't do native system logic on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Jan 20, 2015
1 parent a8c1898 commit 9a18855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyKernel.java
Expand Up @@ -1531,7 +1531,7 @@ public static IRubyObject system(ThreadContext context, IRubyObject recv, IRubyO
public static IRubyObject system19(ThreadContext context, IRubyObject recv, IRubyObject[] args) {
Ruby runtime = context.runtime;

if (runtime.getPosix().isNative()) {
if (runtime.getPosix().isNative() && !Platform.IS_WINDOWS) {
// MRI: rb_f_system
long pid;
int[] status = new int[1];
Expand Down

0 comments on commit 9a18855

Please sign in to comment.