Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by rezeile008 (Novice)
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
Re^2: Run a batch file and wait for it to finish
by jellisii2 (Pilgrim) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-07-29 04:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls