summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-09 22:55:31 +0800
committerruki <[email protected]>2021-06-09 22:55:31 +0800
commit79acd86359c71f749b6990b24335bfe2c338f95b (patch)
tree74402f8ae0df10ea9eafe3b3c9cc3dcc63554adb
parenta9af606a9bea0a91ee48e70273b06bf466b67f54 (diff)
fix cleaner and detach process
-rw-r--r--xmake/actions/build/cleaner.lua2
-rw-r--r--xmake/actions/build/statistics.lua2
-rw-r--r--xmake/actions/update/main.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/build/cleaner.lua b/xmake/actions/build/cleaner.lua
index 6916d961d..0f47ffeb3 100644
--- a/xmake/actions/build/cleaner.lua
+++ b/xmake/actions/build/cleaner.lua
@@ -54,7 +54,7 @@ function cleanup()
try
{
function ()
- process.openv("xmake", argv, {stdout = path.join(os.tmpdir(), "cleaner.log")}, {detach = true}):close()
+ process.openv("xmake", argv, {stdout = path.join(os.tmpdir(), "cleaner.log"), detach = true}):close()
end
}
end
diff --git a/xmake/actions/build/statistics.lua b/xmake/actions/build/statistics.lua
index d345b0fb4..9a4c196c5 100644
--- a/xmake/actions/build/statistics.lua
+++ b/xmake/actions/build/statistics.lua
@@ -88,7 +88,7 @@ function post()
try
{
function ()
- process.openv("xmake", argv, {stdout = path.join(os.tmpdir(), projectname .. ".stats.log")}, {detach = true}):close()
+ process.openv("xmake", argv, {stdout = path.join(os.tmpdir(), projectname .. ".stats.log"), detach = true}):close()
end
}
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua
index 7264d472c..4bd4389cd 100644
--- a/xmake/actions/update/main.lua
+++ b/xmake/actions/update/main.lua
@@ -173,7 +173,7 @@ function _install(sourcedir)
end
else
os.vrun("make build")
- process.openv("./scripts/get.sh", {"__local__", "__install_only__"}, {stdout = os.tmpfile(), stderr = os.tmpfile()}, {detach = true}):close()
+ process.openv("./scripts/get.sh", {"__local__", "__install_only__"}, {stdout = os.tmpfile(), stderr = os.tmpfile(), detach = true}):close()
end
return true
end,