mirror of
https://github.com/pragma-/pbot.git
synced 2024-12-25 04:02:37 +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;
|
$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\"");
|
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 = "";
|
$result = "";
|
||||||
open(FILE, '.output');
|
open(FILE, '.output');
|
||||||
while(<FILE>) {
|
while(<FILE>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user