
9 Jun
2011
9 Jun
'11
12:01 p.m.
On Thu, Jun 9, 2011 at 07:40, Neil Davies
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.