diff options
| -rw-r--r-- | xmake/core/base/os.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index aca76db61..0cc3b4361 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -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 |
