lua-users home
lua-l archive

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


>> This don't work on 9x and freeze the computer, it works fine on 2K.
>> readfrom('|dir /b /s *.lua')
>
>Yes, I would have expected it to NOT work on win9x...
>Can anybody confirm/deny if this should work on win9x?

On Windows 98 first edition, typing the following in the Lua interpreter
(without recompilation):

  readfrom('|dir')
  a=read()

reads from the keyboard. Same if I enter the above code from the command
line after -e.
Were you referring to the interpreter recompiled with the special defines
for Windows pipes?

  Enrico