From 70583c6bf8e2e7042566e3831ae6487b871b8810 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 10 Jun 2024 09:51:00 +0530 Subject: [PATCH] chore(tests): stream test on windows should redir stdout to stderr not other way around --- tests/process/spawn/stream.luau | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/process/spawn/stream.luau b/tests/process/spawn/stream.luau index 7616c83..511d178 100644 --- a/tests/process/spawn/stream.luau +++ b/tests/process/spawn/stream.luau @@ -12,7 +12,7 @@ assert( ) local echoChild = if process.os == "windows" - then process.spawn("echo", { msg, "2>&1" }, { shell = "cmd" }) + then process.spawn("echo", { msg, "1>&2" }, { shell = "cmd" }) else process.spawn("echo", { msg, ">>/dev/stderr" }, { shell = true }) assert(