Skip to content

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

Closed
@DartBot

Description

@DartBot

<img src="https://avatars.githubusercontent.com/u/444270?v=3" align="left" width="96" height="96"hspace="10"> Issue by seaneagan
Originally opened as dart-lang/sdk#23072


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-infoAdditional information needed from the issue authortype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions