← Back to issue list

Don't add timestamps when the subprocess already does that

View original Github issue

Metadata

Project
craft-cli
Number
#61
Type
issue
State
open
Author
facundobatista
Labels
Created
2022-02-03 18:25:14+00:00
Updated
2025-03-10 18:59:11+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

We need to add a flag to `emit.open_stream`, something like `sub_with_timestamps` (defaults to `False`), which would mean that the executed stuff will add its own timestamp, so in that case Craft CLI won't add the timestamp to the message This way, if we use emit.open_stream on something that has it's own Craft CLI stuff (or adds timestamps in some way), the outer timestamp will not be present; but if we run whatever (e.g. pip) it will add the timestamps as currently does.

Evaluation history

No evaluation history available.