public class ScriptRunner extends Object
| Constructor and Description |
|---|
ScriptRunner(String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTempHeader(String line) |
void |
close() |
static ScriptRunner |
getInstance(String[] args) |
PythonInterpreter |
getPythonInterpreter() |
void |
runPython(String bundlePath) |
void |
runPython(String bundlePath,
File pyFile) |
void |
runPythonAsync(String bundlePath) |
public ScriptRunner(String[] args)
public static ScriptRunner getInstance(String[] args)
public void addTempHeader(String line)
public PythonInterpreter getPythonInterpreter()
public void runPython(String bundlePath, File pyFile) throws IOException
IOExceptionpublic void close()
public void runPythonAsync(String bundlePath) throws IOException
IOExceptionpublic void runPython(String bundlePath) throws IOException
IOException