Skip to content
Myr

Document `encoding: null` (#158)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Thai Pangsakulyanont · committed by Sindre Sorhus · parent 4d0dc88 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:readme.md+2 added-2 removed
238 unmodified lines
239Keep track of the spawned process and `kill` it when the parent process exits.240241#### encoding242243Type: `string`<br>243Type: `string` `null`<br>244Default: `utf8`245246Specify the character encoding used to decode the `stdout` and `stderr` output.246Specify the character encoding used to decode the `stdout` and `stderr` output. If set to `null`, then `stdout` and `stderr` will be a `Buffer` instead of a string.247248#### timeout249250Type: `number`<br>
77 unmodified lines