Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send output of building Setup.hs to stderr #1410

Closed
mgsloan opened this issue Nov 24, 2015 · 0 comments · Fixed by #1423
Closed

Send output of building Setup.hs to stderr #1410

mgsloan opened this issue Nov 24, 2015 · 0 comments · Fixed by #1423

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Nov 24, 2015

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
@mgsloan mgsloan added this to the P2: Should milestone Nov 24, 2015
@rvion rvion self-assigned this Nov 24, 2015
rvion added a commit to rvion/stack that referenced this issue Nov 24, 2015
rvion added a commit to rvion/stack that referenced this issue Nov 25, 2015
rvion added a commit to rvion/stack that referenced this issue Nov 25, 2015
rvion added a commit to rvion/stack that referenced this issue Nov 25, 2015
rvion added a commit to rvion/stack that referenced this issue Nov 29, 2015
…ake a Cmd arg

introduce CMD data type
add runCmd' following callProcess' model
actually fixes commercialhaskell#1410
rename CMD -> Cmd
move Cmd to System.Process.Run
clean redundant imports
remove test.dot and test.html
fix callProcess call on windows in Stack.Exec
mgsloan added a commit that referenced this issue Nov 30, 2015
[RFC] Send output of building setup to stderr (fixes #1410)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants