Skip to content

Commit

Permalink
Add more description about the execPath option
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 15, 2019
1 parent d4159bf commit 5733557
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ declare namespace execa {
/**
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.
Requires `preferLocal` to be `true`.
Expand Down
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ Default: `process.execPath` (current Node.js executable)

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).

Requires [`preferLocal`](#preferlocal) to be `true`.
Expand Down

0 comments on commit 5733557

Please sign in to comment.