From 968a9b4f803be893769277b102888ea5ab3e9b6c Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 10 Jun 2024 09:37:48 +0530 Subject: [PATCH] chore(tests): fix stream test for windows --- 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 bc5846b..7616c83 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("Write-Error", { msg }, { shell = "powershell" }) + then process.spawn("echo", { msg, "2>&1" }, { shell = "cmd" }) else process.spawn("echo", { msg, ">>/dev/stderr" }, { shell = true }) assert(