freddiewang
10/02/2019, 6:49 AMStringWriter
directly?? I’ve tried to set the scriptEngine.context.writer
but it seems not working.ilya.chernikov
10/04/2019, 8:42 AMSystem.setOut
, etc., since we do not intercept io on the compilation to allow any other approach.
The scriptEngine.context.writer
is not implemented because Sysstem.setOut
is the only way to do it, and we assume that the user knows better his environment to implement a specific solution - it is difficult to make a good general one.freddiewang
10/05/2019, 12:05 PM