public static class ShellLauncher.LaunchConfig extends Object
Constructor and Description |
---|
LaunchConfig(Ruby runtime,
IRubyObject[] rawArgs,
boolean doExecutableSearch) |
Modifier and Type | Method and Description |
---|---|
String[] |
getExecArgs() |
boolean |
shouldRunInProcess()
Only run an in-process script if the script name has "ruby", ".rb",
or "irb" in the name.
|
boolean |
shouldRunInShell()
This hack is to work around a problem with cmd.exe on windows where it can't
interpret a filename with spaces in the first argument position as a command.
|
void |
verifyExecutableForDirect() |
void |
verifyExecutableForShell() |
public LaunchConfig(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch)
public boolean shouldRunInProcess()
public boolean shouldRunInShell()
public void verifyExecutableForShell()
public void verifyExecutableForDirect()
public String[] getExecArgs()
Copyright © 2001-2017 JRuby. All Rights Reserved.