diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/.os.luadoc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/.os.luadoc b/core/.os.luadoc index 1908c200..6c1b702b 100644 --- a/core/.os.luadoc +++ b/core/.os.luadoc @@ -31,7 +31,7 @@ module('os') -- @param exit_cb Optional Lua function that is called when the child process -- finishes. The child's exit status is passed. -- @return proc or nil plus an error message on failure --- @usage os.spawn('lua buffer.filename', print) +-- @usage os.spawn('lua ' .. buffer.filename, print) -- @usage proc = os.spawn('lua -e "print(io.read())"', print) -- proc:write('foo\n') -- @class function @@ -84,4 +84,3 @@ function spawn_proc:close() end -- @param signal Optional Unix signal to send to *spawn_proc*. The default value -- is 9 (`SIGKILL`), which kills the process. function spawn_proc:kill() end -]] |