Skip to content

Commit fb87bf1

Browse files
authored
SpawnSyncOptions docs: reduce supported input types to Buffer (#64)
The option only supports `Maybe Buffer` and providing anything else like `Maybe String` will result in compilation error.
1 parent a836ddd commit fb87bf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node/ChildProcess.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ spawnSync command args = (UnsafeCP.spawnSync command args) <#> \r ->
246246
}
247247

248248
-- | - `cwd` <string> | <URL> Current working directory of the child process.
249-
-- | - `input` <string> | <Buffer> | <TypedArray> | <DataView> The value which will be passed as stdin to the spawned process. Supplying this value will override stdio[0].
249+
-- | - `input` <Buffer> The value which will be passed as stdin to the spawned process. Supplying this value will override stdio[0].
250250
-- | - `argv0` <string> Explicitly set the value of argv[0] sent to the child process. This will be set to command if not specified.
251251
-- | - `env` <Object> Environment key-value pairs. Default: process.env.
252252
-- | - `uid` <number> Sets the user identity of the process (see setuid(2)).

0 commit comments

Comments
 (0)