aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/.os.luadoc
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-05 16:07:34 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-05 16:07:34 -0400
commitd88a65ae78190eb6a2a94938c93c87c2148c60fc (patch)
tree1af5bae41c770b5af529ee0773cf8cfe491dd84b /core/.os.luadoc
parent9cbb496e497865077e39eda1f26ae9dbec2ac06b (diff)
Various manual and documentation updates.
Diffstat (limited to 'core/.os.luadoc')
-rw-r--r--core/.os.luadoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/.os.luadoc b/core/.os.luadoc
index 33d95aa2..4405c4d1 100644
--- a/core/.os.luadoc
+++ b/core/.os.luadoc
@@ -15,7 +15,7 @@ module('os')
-- arguments to pass to it. `PATH` is searched for program names.
-- @param cwd Optional current working directory (cwd) for the child
-- process. When omitted, the parent's cwd is used.
--- @param env Optional table of environment variables for the child process.
+-- @param env Optional map of environment variables for the child process.
-- When omitted, the parent's environment is used.
-- @param stdout_cb Optional Lua function that accepts a string parameter for a
-- block of standard output read from the child. Stdout is read asynchronously
@@ -32,7 +32,7 @@ module('os')
-- @return proc or nil plus an error message on failure
-- @usage os.spawn('lua ' .. buffer.filename, print)
-- @usage proc = os.spawn('lua -e "print(io.read())"', print)
--- proc:write('foo\n')
+-- proc:write('foo\n')
-- @class function
-- @name os.spawn
local spawn