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

fork/pipe on windows

Thread Next
From:
Uri Guttman
Date:
November 23, 2003 00:24
Subject:
fork/pipe on windows
Message ID:
x7r7zz332o.fsf@mail.sysarch.com

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?

thanx,

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About