From 7b00e3f8fe78cf32b2ecef81bd18c14d5f84e790 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 13 Aug 2024 22:46:12 +0800 Subject: fix commands --- xmake/modules/cli/bisect.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/cli/bisect.lua') diff --git a/xmake/modules/cli/bisect.lua b/xmake/modules/cli/bisect.lua index 2ce090960..5e69a8915 100644 --- a/xmake/modules/cli/bisect.lua +++ b/xmake/modules/cli/bisect.lua @@ -50,7 +50,7 @@ function _run_command(opt) local arbitrary = opt.arbitrary if commands then for _, command in ipairs(commands:split(";")) do - os.exec(command) + os.exec(command:trim()) end elseif arbitrary then local program = arbitrary[1] -- cgit v1.3.1