in reply to Re: Re: How to efficiently manage bunch of processes
in thread How to efficiently manage bunch of processes
It really does sound as if you need one overall script, which runs the others.. Why fork? Why not just run them using system() or similar? (I assume your three parts already have some external method of communicating). That way you get to keep the code in separate, easily managable scripts.
Alternatively, you don't need to copy all the code into one script to have it run together, using modules and such will keep the actual code separate, but allow it to act as one. Eg. make a module for one part, do 'use Module;' and 'Module::Run();' to get it started ?
(Forks are yucky, if you ask me ,)
C.
|
|---|