summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-12-28 22:49:49 +0800
committerruki <[email protected]>2023-12-28 22:49:49 +0800
commit22770be939cf1165cb41ca9119d55b07369b7405 (patch)
tree8d7b18fb0e019369b332c3c9ef63847aba8e2990 /xmake/core/base/os.lua
parent060626edbf26101044d6ab74f7f1af2fd755dc13 (diff)
update changelog
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 47cfb98b3..aca76db61 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -876,7 +876,11 @@ function os.execv(program, argv, opt)
if waitok > 0 then
ok = status
elseif waitok == 0 and opt.timeout then
+ print("kill .. ")
proc:kill()
+ print("kill end")
+ waitok, status = proc:wait(-1)
+ print("waitok", waitok, status)
errors = "wait process timeout"
end
else