lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I didn't saw xpcall mentioned in Roberto's list of changes.

That is still in trial... "xpcall" would be the pcall with an error
handler (as its first argument). I am not sure it will go into the final
version anyway...


> Nor popen.

That took the functionality of readfrom/writeto("| ..."):

  f = io.popen("ls", "r")
  print(f:read('*a'))

Now the function is always there, but raises an error if you compile
Lua without -DPOPEN.

-- Roberto