aboutsummaryrefslogtreecommitdiff
path: root/core/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/init.lua')
-rw-r--r--core/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua
index d3f50750..38e19ace 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -168,7 +168,7 @@ local timeout
-- available at the time.
-- @param exit_cb Optional Lua function that is called when the child process
-- finishes. The child's exit status is passed.
--- @return proc
+-- @return proc or nil plus an error message on failure
-- @usage spawn('lua buffer.filename', nil, print)
-- @usage proc = spawn('lua -e "print(io.read())"', nil, print)
-- proc:write('foo\n')