Skip to content

doc: note --env-file is not applied to --run#64442

Open
bitpshr wants to merge 1 commit into
nodejs:mainfrom
bitpshr:doc/run-env-file
Open

doc: note --env-file is not applied to --run#64442
bitpshr wants to merge 1 commit into
nodejs:mainfrom
bitpshr:doc/run-env-file

Conversation

@bitpshr

@bitpshr bitpshr commented Jul 12, 2026

Copy link
Copy Markdown

Fixes #62988.

Documents under --run that variables loaded with --env-file are not applied to the command it executes. Per the discussion on the issue this behavior is intended, so this just documents it.

Environment variables loaded with `--env-file` are not applied to the
command executed by `--run`. Document this limitation under `--run`.

Fixes: nodejs#62988
Signed-off-by: Paul Bouchon <mail@bitpshr.net>
@nodejs-github-bot nodejs-github-bot added cli Issues and PRs related to the Node.js command line interface. doc Issues and PRs related to the documentations. labels Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Issues and PRs related to the Node.js command line interface. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--env-file is silently ignored when using --run

2 participants