diff options
| author | ruki <[email protected]> | 2017-07-19 19:13:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-19 19:13:51 +0800 |
| commit | 2b52ec7d069e2a5b297b52f6696f70f3d53ff385 (patch) | |
| tree | 763e978454b9070530d4261547eca58ebad82161 | |
| parent | 03509bb551e7b5491a8ed08f9fc7241d39beb215 (diff) | |
fix iorunv bug
| -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 b8c8c5ef3..adeb2874f 100644 --- a/xmake/core/sandbox/modules/os.lua +++ b/xmake/core/sandbox/modules/os.lua @@ -318,7 +318,7 @@ function sandbox_os.iorunv(program, argv) -- run it local ok, outdata, errdata = os.iorunv(program, argv) if not ok then - os.raise(errdata) + os.raise((outdata or "") .. (errdata or "")) end -- ok |
