ghcid icon indicating copy to clipboard operation
ghcid copied to clipboard

program receives junk input when run with -T/--test

Open simonmichael opened this issue 6 years ago • 1 comments

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..."

simonmichael avatar Dec 26 '18 15:12 simonmichael

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.

ndmitchell avatar Dec 28 '18 11:12 ndmitchell