Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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 ActivePerl5.xxx) Many Thanks!

Comment on fork() on win32
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
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? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-08-29 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls