cthumb suggestion
Koos Pol <[email protected]> Wed, 15 Jun 2005 11:11:52 +0200
| Newsgroups | gmane.comp.web.cthumb.devel |
|---|---|
| Message-ID | <[email protected]> |
if (/^Page(\s*(\(([^)]*)\)?)\s*)?\s*:\s*((.*\/)?(.*\.album))\s*$/i) {
# this entry is actually an album itself. run cthumb recursively.
my $newdir = ".";
if (defined($5)) { $newdir = $5; }
# print "forking cthumb to: $newdir; perl $cthumb $6\n";
system("cd $newdir > /dev/null; perl $cthumb $6");
You don't want to fork. This will pass control to some external system of
which you have no control off.
# TO-DO: figure out how we can get info from that forked cthumb for:
Use a recursive main entry point instead. This way, you get to live within
your own box. Now you can pass back any info you want.
Cheers,
Koos
--
KP
[email protected]
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click