starlet
starlet copied to clipboard
How to capture stdout, stderr?
I'd like to capture stdout and stderr.
@yonas
For the standard print() method, you can define your own print handler via SetPrintFunc.
For other Go methods you have provided for Starlark, please implement them in the usual Go way.