Created
April 6, 2017 15:03
-
-
Save sras/8cd8baad60090123abec35fb612f0ea6 to your computer and use it in GitHub Desktop.
Redirect output and errors of ghci to files and stdout at the same time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stack ghci > >(tee stdout.log) 2> >(tee stderr.log >&2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment