RE: Subprocesses (was: [ANNOUNCE] shell-haskell 1.0.0)

9 May
2003
9 May
'03
8:29 a.m.
You need to have two rather than one handle if you want to know when the process is finishing outputting. Otherwise its output filehandle will never reach EOF.
Actually hIsEOF only looks at the read side of a read/write Handle, so this would still work.
Generally you won't want to close the output and input Handles simultaneously.
Good point. However, closing just one side of a read/write Handle is something we've wanted before IIRC: it's useful when dealing with sockets. Cheers, Simon
8047
Age (days ago)
8047
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow