1set / starlet

✨ Yet another Go wrapper for Starlark that simplifies usage, offers data conversion and useful Starlark libraries
MIT License
22 stars 1 forks source link

How to capture stdout, stderr? #120

Open yonas opened 1 month ago

yonas commented 1 month ago

I'd like to capture stdout and stderr.

hyorigo commented 1 month ago

@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.