Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: controlling child processesby johngg (Canon) |
on Apr 04, 2006 at 23:02 UTC ( [id://541237]=note: print w/replies, xml ) | Need Help?? |
I have a script that does tape backups. It forks a child process for each tape device on the host so that multiple tape devices are written concurrently rather than consecutively. This is the skeleton of the process, which uses pipes so that the children can log messages that the parent can read later.
That is the bare bones of the mechanism. I have not attempted to reconcile use strict; and my or our here as it is just an illustration. I hope this is useful. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|