mirror of
https://github.com/lune-org/lune.git
synced 2025-04-20 03:43:49 +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 stdinChild = process.spawn((((not isWindows) and "xargs") or "echo"), {
|
||||
((not isWindows) and "echo") or nil,
|
||||
local stdinChild = process.spawn((((not isWindows) and "xargs") or "powershell"), {
|
||||
"echo",
|
||||
}, {
|
||||
stdin = echoMessage,
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue