mirror of
https://github.com/lune-org/lune.git
synced 2025-04-19 19:34:02 +01:00
chore(tests): windows support for process stdin tests (2)
This commit is contained in:
parent
7dd9223157
commit
03ddc4878b
1 changed files with 2 additions and 2 deletions
|
@ -143,8 +143,8 @@ assert(
|
||||||
|
|
||||||
local isWindows = process.os == "windows"
|
local isWindows = process.os == "windows"
|
||||||
|
|
||||||
local stdinChild = process.spawn((((not isWindows) and "xargs") or "echo"), {
|
local stdinChild = process.spawn((((not isWindows) and "xargs") or "powershell"), {
|
||||||
((not isWindows) and "echo") or nil,
|
"echo",
|
||||||
}, {
|
}, {
|
||||||
stdin = echoMessage,
|
stdin = echoMessage,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue