This seems pretty straightforward a problem: if on a Unix system I want to discard output of a process (from the process library), the following comment (original Haddock link) seems relevant:
... If you wish to ignore the child process's output you should either create a pipe and drain it manually or pass a
Handlethat writes to/dev/null.
And it works fine. The problem I have is that openFile "/dev/null" WriteMode does not work properly on Windows - it creates an actual file called /dev/null.
Is there some cross-platform way of getting a Handle that just ignores its input? Other SO questions have me thinking one of openFile "nul" WriteMode or openFile "null" WriteMode should work, but neither seem to properly ignore output (see this line 462 of this log for an example of the former not working).