Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

fork() on win32

by Delfer (Novice)
on Apr 25, 2000 at 14:00 UTC ( #8924=perlquestion: print w/replies, xml ) Need Help??
Delfer has asked for the wisdom of the Perl Monks concerning the following question:

Can you tell me what take the place of fork() function
on windowsNT OS?
Maybe there is another function or module?
(I'm using Many Thanks!

Replies are listed 'Best First'.
Re: fork() on win32
by buzzcutbuddha (Chaplain) on Apr 25, 2000 at 16:55 UTC
    Up until ActiveState 5.6, there was no Fork function on Win32
    but if you get the latest release, the Fork function will now work
    for you. It uses threads to achieve the same effect as the fork
    command on *nix. :) HTH
Re: fork() on win32
by jbert (Priest) on Apr 25, 2000 at 18:16 UTC
    If you can't use perl 5.6, then you are limited to using the Win32::Process module.

    This gives you access to an API which quite closely models the Win32 API.

    Basically you create a new 'Process' object (which starts a process) and then you can do things like sleep until it exits, or kill it or whatever.

      But there is no example for using HTTP::Process in that
      package.Where can I find one?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://8924]
Approved by root
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2018-07-21 10:10 GMT
Find Nodes?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?

    Results (446 votes). Check out past polls.