Skip to content

Commit c7ed0dc

Browse files
authored
Merge pull request #223 from curbengh/spawn-opts
docs(spawn): link to upstream docs
2 parents f4abd47 + 4d64246 commit c7ed0dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,13 +490,15 @@ Option | Description | Default
490490
--- | --- | ---
491491
`cwd` | Current working directory of the child process |
492492
`env` | Environment key-value pairs |
493-
`stdio` | Child's stdio configuration |
493+
`stdio` | Child's stdio configuration | `pipe`
494494
`detached` | The child will be a process group leader |
495495
`uid` | Sets the user identity of the process |
496496
`gid` | Sets the group identity of the process |
497497
`verbose` | Display messages on the console | `false`
498498
`encoding` | Sets the encoding of the output string | `utf8`
499499

500+
More info: [`child_process.spawn()`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options)
501+
500502
``` js
501503
spawn('cat', 'test.txt').then((content) => {
502504
console.log(content);

0 commit comments

Comments
 (0)