Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Win32 fork using open3

by alien_life_form (Pilgrim)
on Jun 05, 2002 at 13:23 UTC ( [id://171821]=note: print w/replies, xml ) Need Help??


in reply to Win32 fork using open3

Greetings,

I would place my bets on the fork() emulation that,as can be found elsewhere on PM, does not properly shine on Win32.
AFAIK, open3 does implicitly fork...
Cheers,
alf


You can't have everything: where would you put it?

Replies are listed 'Best First'.
Re: Re: Win32 fork using open3
by NaSe77 (Monk) on Jun 05, 2002 at 13:36 UTC
    i can see that there is a need to to implicitly fork() to implement open3 ... and i also can see it in the code of Open3.pm ... but i still cant see why this doesnt work on win32 ... since i have forked before on win32 using perl and it worked .

    is there another way to do something like open3 not using the acual command?

    ----
    NaSe
    :x

Re: Re: Win32 fork using open3
by belg4mit (Prior) on Jun 05, 2002 at 19:00 UTC
    tye is correct. In fact anything named open (IPC::Open3, IPC::Open2 {A wrapper for Open3}, open) does an *implicit* fork. Which in Win32's case are not real faked up forks, and work quite well. Afterall you were always able to open pipes in Win32, even when fork hadn't been faked.

    --
    perl -pew "s/\b;([mnst])/'$1/g"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://171821]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2024-04-25 08:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found