On Fri, Sep 21, 2001 at 10:55:14AM -0700, Erwin Hogeweg wrote:
> I am just wondering, is this the right way to execute a bsh command from an
> Object result = new bsh.Interpreter().eval("helloworld()");
Yes, this is the most general way.
Of course you can keep that interpreter alive for subsequent calls and
evaluations... It holds the evaluation state and (should be) thread safe.