Skip to content

Capture stdout without stderr #535

@liranco

Description

@liranco

Feature Description

I'm attempting to use cargo-make, to run cargo build via duckscript, in order to capture its output, like so:

json = exec --fail-on-error cargo build --message-format json

To then parse its json output.
I'd like to see the cargo build stderr output (which shows the build progress). The problem is that capturing stdout also captures stderr.

Describe The Solution You'd Like

I'd love to have a flag that can specify what output to capture / not capture.

Thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions