Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 13, 2019
1 parent 734450e commit 11029d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ declare namespace execa {
readonly localDir?: string;

/**
Path to the Node.js executable to use in child processes. This can be used when the Node.js executable to spawn is different from the current one.
Path to the Node.js executable to use in child processes.
For example this can be used together with `get-node` to run a specific Node.js version in a child process.
This can be either an absolute path or a path relative to the `cwd` option.
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,9 @@ Preferred path to find locally installed binaries in (use with `preferLocal`).
Type: `string`<br>
Default: `process.execPath` (current Node.js executable)

Path to the Node.js executable to use in child processes. This can be used when the Node.js executable to spawn is different from the current one.
Path to the Node.js executable to use in child processes.

For example this can be used together with [`get-node`](https://github.com/ehmicky/get-node) to run a specific Node.js version in a child process.

This can be either an absolute path or a path relative to the [`cwd` option](#cwd).

Expand Down

0 comments on commit 11029d4

Please sign in to comment.