Re: No way to fork() ?
Ross Paterson <[email protected]> Mon, 18 Apr 2005 17:27:41 +0100
| Newsgroups | gmane.comp.lang.haskell.hugs.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Apr 18, 2005 at 10:48:38AM -0500, John Goerzen wrote: > On Mon, Apr 18, 2005 at 01:12:45AM +0100, [email protected] wrote: > > - System.Process is missing; the chief problem is Hugs's representation > > of handles. Perhaps not insuperable. > > - System.Posix.Process.forkProcess is probably approximately > > implementable, modulo problems with handles. > > Can you elaborate a bit on what these problems are? Hugs implements Handles on top of FILEs, so you have to worry about buffering. Most of it is probably possible, just not trivial. > Actually, I am more interested in installing SIG_IGN for SIGPIPE. (That > is, tell the system to ignore that signal.) That much should be doable, > right? Should be. The higher-level System.Process seems more important, though.