Join Slack
Powered by
<@U0CHHN4F4> I came up with thread safe I/O captur...
# scripting
a
apatrida
01/06/2017, 4:20 AM
@ilya.chernikov
I came up with thread safe I/O capture (in / stdout / stderr) using this:
https://github.com/kohesive/keplin/blob/master/core/src/main/kotlin/uy/kohesive/keplin/kotlin/util/scripting/IoCapture.kt
and the Jsr223 version maps context in/out to that:
https://github.com/kohesive/keplin/blob/master/jsr223-engine/src/main/kotlin/uy/kohesive/keplin/jsr223/IoCapture.kt
3
Views
Open in Slack
Previous
Next