Skip to content

Commit

Permalink
chore(tests): fix stream test failing on windows cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev authored Jun 11, 2024
1 parent 80ebab4 commit cf707a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/process/spawn/stream.luau
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ assert(
)

local echoChild = if process.os == "windows"
then process.spawn("cmd.exe", { "/c", "echo", msg, "1>&2" })
then process.spawn("/c", { "echo", msg, "1>&2" }, { shell = "cmd" })
else process.spawn("echo", { msg, ">>/dev/stderr" }, { shell = true })

assert(
Expand Down

0 comments on commit cf707a3

Please sign in to comment.