Skip to content

progress: Output to stderr - not stdout #359

@HenrikBengtsson

Description

@HenrikBengtsson

Issue

Download progress such as:

Downloading: 1.2 kB

is outputted to standard output (stdout). This means for instance that the progress is captured by report generators. Outputting to standard error (stderr) avoids this.

Troubleshooting

This is because cat() and utils::txtProgressBar() are called with defaults, which results in output to stdout. Passing file=stderr() to these functions would probably be enough.

Related code issues: Issue #344

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions