develooper Front page | perl.perl5.porters | Postings from November 2003

fork/pipe on windows

Thread Next
Uri Guttman
November 23, 2003 00:24
fork/pipe on windows
Message ID:

i am trying to use the fork/pipe examples at the end of perlfork
(5.8). when i run the pipe_to_fork example it works. the pipe_from_fork
just hangs.

in the docs for open there is coverage of open(FILEHANDLE, "<&=$fd")
(which is used in pipe_to_fork)

but there in no mention of the other direction which would be
open(FILEHANDLE, ">&=$fd") which is used in pipe_from_fork.

so there is either a bug in open in not supporting
open(FILEHANDLE, ">&=$fd") or in the perlfork doc for mentioning it and
showing a broken example.

any ideas or answers?



Uri Guttman  ------  --------
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About