I have tried looking through wrapper scripts throughout the forum, but I don't think they were able to answer my question (either that or I'm just confused).
Basically, I have a Perl script that I want to run in parallel 4 times with parameters, wait for all of them to finish, then run another script.
I would also like to run this script in a Windows environment.
Preferably, I would like to avoid using UNIX environments (ex. Cygwin) since I'll be running this in a Windows environment.
As far as I'm aware, .sh scripts don't work in Windows (unless I missed something...).
My Perl scripts all run fine; just need to get the wrapping script all set up and I'll be good to go.
Hmm, crud, Perl threads... I haven't done threading for a long time...
Well, if it works, then that's what I will have to refresh my memory with.
Many thanks!!
On those systems that I've tried on: yes. Although it's a good deal slower than on UNIX, but that's usually only a problem if the fork'd part finished very fast.
Windows doesn't have a genuine fork(). (I'm still not sure Windows has genuine copy-on-write, for that matter.) But it's possible to write something that acts like it, which I guess they've done.