Skip to content

Commit

Permalink
Update os.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored and Kethers committed Dec 29, 2023
1 parent e51193b commit 285232d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xmake/core/base/os.lua
Original file line number Diff line number Diff line change
Expand Up @@ -876,11 +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)
if waitok > 0 then
ok = status
end
errors = "wait process timeout"
end
else
Expand Down

0 comments on commit 285232d

Please sign in to comment.