diff options
| author | ruki <[email protected]> | 2016-05-19 16:10:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-05-19 16:10:03 +0800 |
| commit | 22ac398c3a818adebda11fcc57b3d87f737331cc (patch) | |
| tree | 5099b7154cacf679a3f0fa211544af8fd1e4b362 /xmake/core/base/os.lua | |
| parent | f3ab20418a0b06f84c6afa22ecfebf7965fd646b (diff) | |
fix os.corun redirect log
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index cdf8dcdfc..c3e3b70cb 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -260,9 +260,8 @@ end -- run shell with coroutine function os.corun(cmd) - -- FIXME -- make temporary log file - local log = path.join(os.tmpdir(), "xmake.os.corun.log") + local log = os.tmpname() -- open command local p = process.open(cmd, log, log) |
