mirror of
https://github.com/lune-org/lune.git
synced 2025-04-10 21:40:54 +01:00
chore(tests): attempt to fix windows cmd yielding
This commit is contained in:
parent
daedbf9899
commit
80ebab4d70
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ assert(
|
||||||
)
|
)
|
||||||
|
|
||||||
local echoChild = if process.os == "windows"
|
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 })
|
else process.spawn("echo", { msg, ">>/dev/stderr" }, { shell = true })
|
||||||
|
|
||||||
assert(
|
assert(
|
||||||
|
|
Loading…
Add table
Reference in a new issue