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

Provide an ability to redirect stdout and stderr #2

Open
MaxDesiatov opened this issue Dec 25, 2020 · 2 comments
Open

Provide an ability to redirect stdout and stderr #2

MaxDesiatov opened this issue Dec 25, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@MaxDesiatov
Copy link
Contributor

carton test previously parsed output of tests that were run with wasmer. It's no longer possible to capture their output, I wonder if WAMR itself supports this at all?

@kateinoigakukun
Copy link
Member

As far as I saw, WAMR doesn't provide a way to hook stdout/stderr 😢

One suggestion: How about launching another carton process in carton test, and execute Wasm binary with WAMR in the spawned process, then capture the output?

@MaxDesiatov
Copy link
Contributor Author

In the meantime, I've created bytecodealliance/wasm-micro-runtime#482 to track this in WAMR proper.

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

No branches or pull requests

2 participants