<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hi everybody!!<br>I've got a strange problem with expand the result of the execution of a program. This is my config data:<br><br>------------------ dictionary -----------------------<br>ATTRIBUTE mi-resultado-script 3003 integer<br><br><br>----------------- exec --------------------------<br>exec {<br> wait = yes<br> shell_escape = yes<br> output = yes<br>}<br><br>--------------- sites-available/default --------------------------<br>mi-resultado-script = "%{exec:/aplicaciones/radius/bin/radius_ath.sh}"<br><br><br>But during the execution:<br><br>Executing /aplicaciones/radius/bin/radius_ath.sh<br>Exec-Program output: <br>Exec-Program: returned: 1<br>result 1<br>expand: %{exec:/aplicaciones/radius/bin/radius_ath.sh} -> <br><br>The result of the program is "1" but the value of the expression is not expanded, and the attribute "mi-resultado-script" has always zero value.<br><br>Could you help me with this?<br><br>Thank you very much.<br> </body>
</html>