facebook / facebook/buck2

BXL: get stdout/stderr of `actions.run()`

Open
#760 8 comments 1 reaction 0 assignees View on GitHub
bxl
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

Is it possible to get the output of an action to print it out via `ctx.output.print()`?

The best I could do was redirect stdout to a declared output and print out its path, but since there is no way to read that file from BXL (that I know of anyway), this requires the user to `cat` out this file (potentially via a wrapper script), which is a poor UX.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.