On Thu, Jun 9, 2011 at 07:40, Neil Davies <semanticphilosop...@gmail.com> wrote: > Anyone out there got an elegant solution to being able to fork a haskell > thread and replace its 'stdin' ?
File descriptors/file handles are per process, not per thread, on (almost?) every OS ghc supports. You'll need to create a full subprocess. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe