App::EvalServer::Child - Evaluate code in a safe child process
# fork, etc use App::EvalServer::Child; App::EvalServer::Child::run( $tempdir, $pipe_name, $jail, $user, $limit, $lang, $code, $unsafe, );
This module takes various safety precautions, then executes the code you provided.
Runs the code. Takes the following arguments: a temporary directory, a pipe name, a jail path, a username, a process limit (in megabytes), a language suffix (e.g. 'Perl' for
App::EvalServer::Language::Perl), the code, and an unsafe flag. If the unsafe flag is on,
run will not take safety precautions (change user, chroot, set resource limits) which require root access.
Hinrik Örn Sigurðsson, firstname.lastname@example.org
Copyright 2010 Hinrik Örn Sigurðsson
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.