mirror of
https://github.com/lune-org/lune.git
synced 2025-04-04 10:30:54 +01:00
chore(tests): fix stream test failing on windows cmd
This commit is contained in:
parent
80ebab4d70
commit
cf707a37ff
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue