Developer_release_1.4.0

Module repl_global

Lua REPL global namespace.

Functions

OS (cmd) Execute OS command.


Functions

Methods
OS (cmd)
Execute OS command. Alias for `REPL:OS`.

Parameters:

  • cmd string Command to execute

Returns:

    string Captured stdout (on success)

Or

  1. nil
  2. string Error message (on failure)

Usage:

    OS('pwd')
generated by LDoc 1.4.6 Last updated 1980-01-01 00:00:00