Thread bg
(String filename);
Run the BeanShell script named by filename in a copy of the existing namespace and in a separate thread. Returns the Thread object so created.
void exec
(String cmdline);
Start the external process by calling Runtime.exec() on cmdline. Any output is directed to the output stream of the calling process.
Object eval
(String expression);
Evaluates the string expression as a BeanShell script in the interpreter's current namespace. Returns the result of the evaluation of null.
bsh.This run
(String filename);
Run the BeanShell script named by filename in a copy of the existing namespace. The return value represent the object context of the script, allowing you to access its variables and methods.
void source
(String filename);
Evaluates the contents of filename as a BeanShell script in the interpreter's current namespace.