diff --git a/tests/process/spawn/stream.luau b/tests/process/spawn/stream.luau index 511d178..a6e137c 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, "1>&2" }, { shell = "cmd" }) + then process.spawn("cmd.exe", { "/c", "echo", msg, "1>&2" }) else process.spawn("echo", { msg, ">>/dev/stderr" }, { shell = true }) assert(