convering Fds to Handles

Jens Petersen
17 May 2002 15:44:34 +0900

Sebastien Carlier <> writes:

> > Specifically, I'd like to use "pipe" from the Posix
> > library to create a pipe and then pass one end of it to
> > runProcess as its stdin.

You may want to take a look at POpen (available from hslibs
cvs, or
Process output works well, though it still has some problems
with lazy process input.

> I have had problems with pipes and runProcess, now I am using
> forkProcess/executeFile/getProcessStatus and it works properly.

Non-lazy IO presumably?  Do you have an example you can show?