[Hugs-users] No way to fork() ?
Ross Paterson
ross at soi.city.ac.uk
Mon Apr 18 12:27:41 EDT 2005
On Mon, Apr 18, 2005 at 10:48:38AM -0500, John Goerzen wrote:
> On Mon, Apr 18, 2005 at 01:12:45AM +0100, ross at soi.city.ac.uk 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.
More information about the Hugs-Users
mailing list