dtolnay / dtolnay/oqueue

How to make a sequencer that covers both stderr and stdout?

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
79
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I have a program that:

* Loops over a set of files doing some operation
* Writes results as CSV rows to stdout
* Writes progress and error information to stderr

Example usage of the program would be: `my-tool --some-flags -- /path/to/files/* > output/findings.csv`

To keep findings comparable, I'd like to avoid interleaving CSV rows from different files, and I'd like the stderr output to avoid being interleaved to make troubleshooting straightforward. Is there a way to create a `Sequencer` that handles both?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.