diff --git a/tests/process/exec/stdin.luau b/tests/process/exec/stdin.luau index 09efa37..fbf0498 100644 --- a/tests/process/exec/stdin.luau +++ b/tests/process/exec/stdin.luau @@ -7,7 +7,7 @@ local expected = "Hello from child process!" -- has unfortunately proved to be a significant challenge... local options = { stdio = { stdin = expected } } local result = if process.os == "windows" - then process.exec("powershell", { "-Command", "{ & bash -c cat }" }, options) + then process.exec("powershell", { "-Command", "[System.Console]::In.ReadToEnd()" }, options) else process.exec("bash", { "-c", "cat" }, options) local resultStdout = result.stdout