forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: GGallery on September 23, 2004, 05:38:52 am
-
that's more of a general php question:
I'd like coppermine to 'nice' the exec('convert ..') part in include/picmgmt.inc.php.
Right now it's being executed with
$cmd = "{$CONFIG['impath']}convert -quality ...
exec ($cmd, $output, $retval);
how can I modify the code so that the cpu consuming convert is done with a nice value=10?
there is proc_nice which can only increase the nice value but not decrease (unless you're root)