Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to capture stdout, stderr? #120

Open
yonas opened this issue Oct 15, 2024 · 1 comment
Open

How to capture stdout, stderr? #120

yonas opened this issue Oct 15, 2024 · 1 comment

Comments

@yonas
Copy link

yonas commented Oct 15, 2024

I'd like to capture stdout and stderr.

@hyorigo
Copy link
Collaborator

hyorigo commented Oct 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants