diff options
| author | ruki <[email protected]> | 2026-08-23 14:59:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-08-23 14:59:19 +0800 |
| commit | 7ddecb012e558dacc0c9aae762c43c3c863a372c (patch) | |
| tree | fa7d7a3795f4f6bf6be8dcd4f805f471e68de191 /xmake/core/base/process.lua | |
| parent | deaabcd162bebe9312201bcaac48404fd8a1925a (diff) | |
fix wait 0wait
Diffstat (limited to 'xmake/core/base/process.lua')
| -rw-r--r-- | xmake/core/base/process.lua | 4 |
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) |
