diff options
author | mitchell <70453897+667e-11@users.noreply.github.com> | 2020-05-24 14:52:15 -0400 |
---|---|---|
committer | mitchell <70453897+667e-11@users.noreply.github.com> | 2020-05-24 14:52:15 -0400 |
commit | 8fcdf4cd321dc928c35482e683072798882a0eef (patch) | |
tree | b6f47b9112c072d2aea08a87ffc70ebf16699539 /core/.os.luadoc | |
parent | a6436143249d4e93b76a17e8c7dd8006ec3c0947 (diff) |
Changed `os.spawn()` exit callback and `spawn_proc:wait()` behavior.
Since `waitpid()` cannot be used by both GLib (via `os.spawn()`) and
`spawn_proc:wait()`, use only one or the other. Then clean up after process
exit.
Diffstat (limited to 'core/.os.luadoc')
-rw-r--r-- | core/.os.luadoc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/.os.luadoc b/core/.os.luadoc index bb7fcd6f..fa118b0c 100644 --- a/core/.os.luadoc +++ b/core/.os.luadoc @@ -45,7 +45,8 @@ local spawn function spawn_proc:status() end --- --- Blocks until process *spawn_proc* finishes and returns its status code. +-- Blocks until process *spawn_proc* finishes (if it has not already done so) +-- and returns its status code. -- @return integer status code function spawn_proc:wait() end |