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(