aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/api.md
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 /docs/api.md
parent9cbb496e497865077e39eda1f26ae9dbec2ac06b (diff)
Various manual and documentation updates.
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api.md b/docs/api.md
index 5748da17..57808bb4 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -6304,7 +6304,7 @@ Parameters:
arguments to pass to it. `PATH` is searched for program names.
* *`cwd`*: Optional current working directory (cwd) for the child
process. When omitted, the parent's cwd is used.
-* *`env`*: Optional table of environment variables for the child process.
+* *`env`*: Optional map of environment variables for the child process.
When omitted, the parent's environment is used.
* *`stdout_cb`*: Optional Lua function that accepts a string parameter for a
block of standard output read from the child. Stdout is read asynchronously
@@ -6323,7 +6323,7 @@ Usage:
* `os.spawn('lua ' .. buffer.filename, print)`
* `proc = os.spawn('lua -e "print(io.read())"', print)
- proc:write('foo\n')`
+ proc:write('foo\n')`
Return: