Skip to content

pub [global] run doesn't redirect stdout/stderr? #23072

Closed
@DartBot

Description

@DartBot

This issue was originally filed by @seaneagan


Tried doing:

pub run unittest:unittest > out.txt

The output gets printed to the console, and not to out.txt. Presumably pub run is not redirecting the stdout/stderr of the dart script it is running to its own stdout/stderr?

I'm on windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-infoWe need additional information from the issue author (auto-closed after 14 days if no response)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions