Skip to content
TheJoshua974 edited this page Oct 12, 2017 · 3 revisions

OS Library

  • os.find()
    Arguments: file, directory (Strings)
    Searches for a file in a directory
  • os.clear()
    Clears the console
  • os.getOS()
    Get the current OS being used
  • os.getArch()
    Returns what's the current Lua architecture (32 or 64 bits)
  • os.outputexec
    Arguments: system command
    Get the output of a system command as a string
Clone this wiki locally