Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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
LanX (measures/mass)
[Tanktalus]: choroba: thanks, not sure why it wasn't doing that for me, but will try to figure it out. :)
[LanX]: can I copy a authotification cookie from mozilla and reuse it in LWP::Useragent?
[LanX]: nevermind
Tanktalus is at work, ssh'd home, using his cbstats bridge to talk on perlmonks CB. :)
[Tanktalus]: anyway, next is to figure out how to get postgres to agree that these are the same :)

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2018-03-21 15:53 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (269 votes). Check out past polls.