add optional limits argument to wgShellExec
authorJan Gerber <j@thing.net>
Mon, 16 Jul 2012 20:06:57 +0000 (13:06 -0700)
committerJan Gerber <j@thing.net>
Mon, 16 Jul 2012 21:35:51 +0000 (14:35 -0700)
commit2a02b44b59afe408f42b86e020228a92df71c3ab
tree092206e6e69b79e75937466c6da9951e54d56dab
parentef9534313eeaf096c647fb5bebfaf7248d44cd73
add optional limits argument to wgShellExec

add optional limits argument to overwrite
filesize, memory and time limits or a command
executed with wfShellExec.
Just having once size fits all $wgMaxShell* options
is not good enough for tasks that take long
or create large files (i.e. video transcoding)

Change-Id: I54148907bfd103fd28aff69baae03437efcfe1ee
includes/GlobalFunctions.php