Issue #461 invalid

os.popen not included on OS X

Mathias Haimerl
created an issue

Hi Ling Liu,

i encountered a Problem on OS X which is already discussed here:

But i installed LUA 5.1 using MacPorts and here, it does work:

print(io.popen('uname -a','r'):read('*l')); Darwin haimimac.local 11.4.0 Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64 x86_64

Did you forget to enable it for the Mac build?

Currently I have no way to enable my os detection on mac... maybe this is also a way of os detection ^^

Comments (2)

  1. Log in to comment