Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Run a batch file and wait for it to finish

by jellisii2 (Hermit)
on May 09, 2014 at 11:31 UTC ( [id://1085574]=note: print w/replies, xml ) Need Help??


in reply to Re: Run a batch file and wait for it to finish
in thread Run a batch file and wait for it to finish

It's my understanding that fork in Windows has to be compiled in, as opposed to threads.

From perlfork:

On some platforms such as Windows where the fork() system call is not available, Perl can be built to emulate fork() at the interpreter level. While the emulation is designed to be as compatible as possible with the real fork() at the level of the Perl program, there are certain important differences that stem from the fact that all the pseudo child "processes" created this way live in the same real process as far as the operating system is concerned.

For what you're doing it may not make a difference, assuming it's compiled in, but I bring it up because it could at some point down the road.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found