gruntmaster-exec - Gruntmaster 6000 executor
gruntmaster-exec 20000000 111 echo 'Hello, world!'
gruntmaster-exec is the script used by gruntmasterd to run programs.
The first argument is the address space limit (in bytes), the second argument is the output limit (also in bytes). The rest of the arguments are the command that should be run and its arguments.
gruntmaster-exec sets the resource limits, cleans the environment (except for PATH and HOME), adds the ONLINE_JUDGE environment variable with value 1, and finally
execs the given command.
Marius Gavrilescu <email@example.com>
Copyright (C) 2014 by Marius Gavrilescu
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.