summaryrefslogtreecommitdiff
path: root/xmake/core/base/process.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/base/process.lua')
-rw-r--r--xmake/core/base/process.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/process.lua b/xmake/core/base/process.lua
index 35b0b15b7..0c4c509b0 100644
--- a/xmake/core/base/process.lua
+++ b/xmake/core/base/process.lua
@@ -81,9 +81,9 @@ end
-- wait subprocess
--
--- @param timeout the timeout
+-- @param timeout the timeout in milliseconds, -1 for infinite, 0 to check without waiting
--
--- @return ok, status
+-- @return ok, status, e.g. -1 on error, 0 on timeout, 1 on exited
--
function _subprocess:wait(timeout)