summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-05-19 16:10:03 +0800
committerruki <[email protected]>2016-05-19 16:10:03 +0800
commit22ac398c3a818adebda11fcc57b3d87f737331cc (patch)
tree5099b7154cacf679a3f0fa211544af8fd1e4b362 /xmake/core/base/os.lua
parentf3ab20418a0b06f84c6afa22ecfebf7965fd646b (diff)
fix os.corun redirect log
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua3
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)