Enforce time limit for interactive verifiers
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon / Runner / Interactive.pm
index ecefbff..115e7a1 100644 (file)
@@ -28,7 +28,7 @@ sub run{
                die [WA, "Wrong Answer"] if $?;
        } else {
                try {
-                       $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [qw/1 >fifo1 0 fifo2 4 >result/], args => [$test]);
+                       $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [qw/1 >fifo1 0 fifo2 4 >result/], args => [$test], map {defined $meta->{$_} ? ($_ => $meta->{$_}) : () } qw/timeout mlimit/);
                } catch {
                        exit 1;
                };
This page took 0.010024 seconds and 4 git commands to generate.