From 64266f8e8b1b16cdf7f0bc04722ff88696c7c78f Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 18 Sep 2023 23:27:48 +0530 Subject: [PATCH] feat(types): add stdin field to `SpawnOptions` --- types/Process.luau | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/Process.luau b/types/Process.luau index c9d738e..f3727f9 100644 --- a/types/Process.luau +++ b/types/Process.luau @@ -13,12 +13,14 @@ export type SpawnOptionsStdio = "inherit" | "default" * `env` - Extra environment variables to give to the process * `shell` - Whether to run in a shell or not - set to `true` to run using the default shell, or a string to run using a specific shell * `stdio` - How to treat output and error streams from the child process - set to "inherit" to pass output and error streams to the current process + * `stdin` - Optional standard input to pass to spawned child process ]=] export type SpawnOptions = { cwd: string?, env: { [string]: string }?, shell: (boolean | string)?, stdio: SpawnOptionsStdio?, + stdin: string?, } --[=[