ghcid
ghcid copied to clipboard
program receives junk input when run with -T/--test
A possible bug, and some other oddities, with -T/--test are described here:
https://www.reddit.com/r/haskell/comments/a9olvk/how_to_change_the_mindset_to_fp/ecl714s/ .
When run via -Tmain the program receives input like "INTERNAL_GHCID..."
Thanks for the report. The command spawned via --test is not expected to read stdin, and when it does it picks up the things I send on to ghci itself. Not sure if there's any easy way to prevent it, but if not I should document it.