Skip to content

Send output of building Setup.hs to stderr #1410

@mgsloan

Description

@mgsloan

Its usage of runIn causes it to inherit stdout and stderr. For example, here's some integration test output for a failing case:

       uncaught exception: TestFailure (Exited with ExitFailure 1

       stdout:
       [1 of 1] Compiling Main             ( /tmp/stack31370/Setup.hs, /tmp/stack31370/Setup.o )
       Linking /tmp/stack-integration-home31337/.stack/setup-exe-cache/tmp-setup-Simple-Cabal-1.22.4.0-x86_64-linux-ghc-7.10.2 ...


       stderr:
       Running: /home/mgsloan/fpco/stack/.stack-work/install/x86_64-linux/lts-3.14/7.10.2/bin/stack build
       Downloading lts-3.9 build plan ...
       Downloaded lts-3.9 build plan.
       Caching build plan

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions