summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/statistics.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-01-26 23:50:30 +0800
committerruki <[email protected]>2024-01-26 23:50:30 +0800
commit9d01da2a9127f8400e231cfc38e80fa7320b6ef0 (patch)
treeed3f44ee6961ed70759beda21d78a65b756b85ef /xmake/modules/private/utils/statistics.lua
parent042362f4c3f1dab8b6b5a32fcbbae20e66e224de (diff)
remove PATH in xmake
Diffstat (limited to 'xmake/modules/private/utils/statistics.lua')
-rw-r--r--xmake/modules/private/utils/statistics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/statistics.lua b/xmake/modules/private/utils/statistics.lua
index 615cfce79..6ebe20c13 100644
--- a/xmake/modules/private/utils/statistics.lua
+++ b/xmake/modules/private/utils/statistics.lua
@@ -86,7 +86,7 @@ function post()
try
{
function ()
- process.openv("xmake", argv, {stdout = path.join(os.tmpdir(), projectname .. ".stats.log"), detach = true}):close()
+ process.openv(os.programfile(), argv, {stdout = path.join(os.tmpdir(), projectname .. ".stats.log"), detach = true}):close()
end
}