in reply to system calls question
What other methods are there for calling a load of scripts?
You could convert the scripts into modules that follow some specific API, then load each module and start it doing its work. For example, you could have a run function in each one that starts it off.
Then voila, you have a basic plugin system. Make a certain directory to put the plugins, have your main script glob the directory and run each one. Next time you need to create a new "script", it's as easy as creating a module and saving it to the right place.
|
|---|