convering Fds to Handles

Sebastien Carlier sebc@wise-language.org
Fri, 26 Apr 2002 00:28:40 +0200


> Is there a way to convert an Fd variable to a Handle variable?
> 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 can use the (undocumented) function Posix.fdToHandle

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

--
S=E9bastien