Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions core/src/main/java/org/jruby/RubyIO.java
Original file line number Diff line number Diff line change
@@ -4519,11 +4519,6 @@ private static void checkValidOptions(IRubyObject options, Set<String> valid) {
}
}

// MRI: check_exec_env, w/ check_exec_env_i body in-line
public static RubyArray checkExecEnv(ThreadContext context, RubyHash hash) {
return PopenExecutor.checkExecEnv(context, hash);
}

/**
* Try for around 1s to destroy the child process. This is to work around
* issues on some JVMs where if you try to destroy the process too quickly
@@ -4989,6 +4984,11 @@ public static IRubyObject select_static(ThreadContext context, Ruby runtime, IRu
return select(context, runtime.getIO(), args);
}

@Deprecated
public static RubyArray checkExecEnv(ThreadContext context, RubyHash hash) {
return PopenExecutor.checkExecEnv(context, hash, null);
}

protected OpenFile openFile;

/**

0 comments on commit 2dc62bf

Please sign in to comment.