diff options
| author | ruki <[email protected]> | 2023-11-21 23:02:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-21 23:02:59 +0800 |
| commit | f9065b4b16508676d4a66c687beba4a1a9d3196f (patch) | |
| tree | 06cfbd6235750acb98ee6ffe59a795d11d403633 /xmake/core/base/os.lua | |
| parent | c445254e918e5091c641832c687d5b7857be0949 (diff) | |
fix os.runv
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index ed5490b7d..9bf835456 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -727,7 +727,7 @@ function os.runv(program, argv, opt) local logfile = os.tmpfile() -- execute it - local ok, errors = os.execv(program, argv, table.join(opt, {stdout = logfile, stderr = logfile})) + local ok, errors = os.execv(program, argv, table.join(opt, {stdout = opt.stdout or logfile, stderr = opt.stderr or logfile})) if ok ~= 0 then -- get command |
