<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 28, 2015 at 10:14 AM, Dirk Laurie <span dir="ltr"><<a href="mailto:dirk.laurie@gmail.com" target="_blank">dirk.laurie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">In Lua 5.2, the definition of os.execute changed to:<br>
<br>
This function is equivalent to the ISO C function system. It passes<br>
command to be executed by an operating system shell. Its first result<br>
is true if the command terminated successfully, or nil otherwise.<br>
After this first result the function returns a string and a number, as<br>
follows:<br>
<br>
"exit": the command terminated normally; the following number is the<br>
exit status of the command.<br>
"signal": the command was terminated by a signal; the following number<br>
is the signal that terminated the command.<br>
<br>
When called without a command, os.execute returns a boolean that is<br>
true if a shell is available.<br>
<br>
In Lua 5.1, it was:<br>
<br>
This function is equivalent to the C function system. It passes<br>
command to be executed by an operating system shell. It returns a<br>
status code, which is system-dependent. If command is absent, then it<br>
returns nonzero if a shell is available and zero otherwise.<br>
<br>
In LuaTeX, Version beta-0.76.0-2013121407  (TeX Live 2013/dev/Debian),<br>
_VERSION is "Lua 5.2" but os.execute still behaves as in Lua 5.1.<br>
<br>
Is this still true in Version 0.85.0? If so, is it a policy decision<br>
that one can rely on?<br>
</blockquote></div><br><br>Thank you for the report.<br>We are seeing if we can jump to 5.3,</div><div class="gmail_extra">at some moment we will review also os.execute.<br><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">luigi<br></div>
</div></div>