Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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

by rezeile008 (Sexton)
on May 08, 2014 at 03:48 UTC ( #1085409=note: print w/ replies, xml ) Need Help??

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

Thanks a lot for the replies! You have pointed me to the right direction and now I have found my way to the Fork VS Thread topics. :D

Comment on Re: Run a batch file and wait for it to finish
Replies are listed 'Best First'.
Re^2: Run a batch file and wait for it to finish
by jellisii2 (Hermit) on May 09, 2014 at 11:31 UTC
    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?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2016-02-14 11:26 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (470 votes), past polls