From d155d5d080335d5932c4b65d2c713814ea28c00d Mon Sep 17 00:00:00 2001 From: Saikari Date: Sun, 1 Feb 2026 21:38:14 +0300 Subject: refactor: update stdin command format for Linux compatibility --- tests/modules/stdin/test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/modules/stdin/test.lua') diff --git a/tests/modules/stdin/test.lua b/tests/modules/stdin/test.lua index 44521d6ad..461e76d68 100644 --- a/tests/modules/stdin/test.lua +++ b/tests/modules/stdin/test.lua @@ -26,7 +26,7 @@ function main(t) local run_stdin = string.format('env "%s" l --stdin', xmake) -- Fix pwsh and cosmocc "exec format error" for MacOS - if is_ape and os.host() == "macosx" then + if is_ape and (os.host() == "macosx" or os.host() == "linux") then run_stdin = string.format('sh -c \\"%s\\"', run_stdin) end -- cgit v1.3.1