diff options
| author | ruki <[email protected]> | 2016-07-12 16:39:30 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-07-12 16:39:30 +0800 |
| commit | 2a95f6e1394c42f166ac4184ab2cf4d77b4ffa7a (patch) | |
| tree | c65cc09f95249a2491352a10313a0d7f9f74060f /xmake/core | |
| parent | 18894a316af66cb5fc2556e7e2a119a93e37458d (diff) | |
fix and optimizate to compile issues for cl.exe
Diffstat (limited to 'xmake/core')
| -rw-r--r-- | xmake/core/sandbox/modules/os.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua index ab61d0866..03ffe7af0 100644 --- a/xmake/core/sandbox/modules/os.lua +++ b/xmake/core/sandbox/modules/os.lua @@ -242,7 +242,7 @@ function sandbox_os.iorun(cmd, ...) -- run it local ok, outdata, errdata = os.iorun(cmd) if not ok then - os.raise(errdata) + os.raise((outdata or "") .. (errdata or "")) end -- ok |
