mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-24 11:42:35 +01:00
TenDRA: Show exit code return value from main()
This commit is contained in:
parent
4b9e177aec
commit
a53b5473ae
@ -20,6 +20,8 @@ sub postprocess {
|
||||
$input_quoted =~ s/\\"/"'\\"'"/g;
|
||||
my ($retval, $result) = $self->execute(60, "bash -c \"date -s \@$self->{date}; ulimit -t 1; /home/compiler/prog <<< echo $input_quoted > .output\"");
|
||||
|
||||
$self->{error} = $retval;
|
||||
|
||||
$result = "";
|
||||
open(FILE, '.output');
|
||||
while(<FILE>) {
|
||||
|
Loading…
Reference in New Issue
Block a user