dtolnay / dtolnay/oqueue

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

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
79
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.