Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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!

Comment on fork() on win32
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2015-10-08 22:47 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (231 votes), past polls