Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

fork() on win32

by Delfer (Novice)
on Apr 25, 2000 at 14:00 UTC ( [id://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 ActivePerl5.xxx) 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-19 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found