X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FDaemon%2FRunner%2FInteractive.pm;h=3595e4a6dcb08027397a11c349b6c4a64224f994;hp=da51380200c0addf58ae8c9bd2ce94da4dfacc5a;hb=b59254d76ff369f1ce942b8e8baab746772f65f4;hpb=614700357f0af54cdba3ac21b7420738bda2f3fe diff --git a/lib/Gruntmaster/Daemon/Runner/Interactive.pm b/lib/Gruntmaster/Daemon/Runner/Interactive.pm index da51380..3595e4a 100644 --- a/lib/Gruntmaster/Daemon/Runner/Interactive.pm +++ b/lib/Gruntmaster/Daemon/Runner/Interactive.pm @@ -10,7 +10,7 @@ use Log::Log4perl qw/get_logger/; use POSIX qw/mkfifo/; use Try::Tiny; -our $VERSION = '5999.000_004'; +our $VERSION = '5999.000_005'; ################################################## @@ -27,7 +27,7 @@ sub run{ my $fail; @fds = $ENV{GRUNTMASTER_VM} ? qw,1 >/dev/ttyS1 0 /dev/ttyS1, : qw/1 >fifo1 0 fifo2/; try { - $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [@fds, qw,4 >result,], args => [$test], map { $_ => $meta->{$_} } qw/timeout mlimit/); + $meta->{files}{ver}{run}->($meta->{files}{ver}{name}, fds => [@fds, qw,3 input 4 >result,], args => [$test], map { $_ => $meta->{$_} } qw/timeout mlimit/); } catch { $fail = [WA, 'Wrong Answer']; };