Skip to content

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

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
bitpshr:doc/run-env-file
Jul 19, 2026
Merged

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

Conversation

@bitpshr

@bitpshr bitpshr commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

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 Node.js documentation. labels Jul 12, 2026
@bjohansebas bjohansebas added the commit-queue PRs queued for automated landing through the Commit Queue. label Jul 19, 2026
@nodejs-github-bot nodejs-github-bot removed the commit-queue PRs queued for automated landing through the Commit Queue. label Jul 19, 2026
@nodejs-github-bot
nodejs-github-bot merged commit c286592 into nodejs:main Jul 19, 2026
28 checks passed
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Landed in c286592

aduh95 pushed a commit that referenced this pull request Jul 21, 2026
Environment variables loaded with `--env-file` are not applied to the
command executed by `--run`. Document this limitation under `--run`.

Fixes: #62988
Signed-off-by: Paul Bouchon <mail@bitpshr.net>
PR-URL: #64442
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 pushed a commit that referenced this pull request Jul 21, 2026
Environment variables loaded with `--env-file` are not applied to the
command executed by `--run`. Document this limitation under `--run`.

Fixes: #62988
Signed-off-by: Paul Bouchon <mail@bitpshr.net>
PR-URL: #64442
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 pushed a commit that referenced this pull request Jul 21, 2026
Environment variables loaded with `--env-file` are not applied to the
command executed by `--run`. Document this limitation under `--run`.

Fixes: #62988
Signed-off-by: Paul Bouchon <mail@bitpshr.net>
PR-URL: #64442
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
RafaelGSS pushed a commit that referenced this pull request Jul 29, 2026
Environment variables loaded with `--env-file` are not applied to the
command executed by `--run`. Document this limitation under `--run`.

Fixes: #62988
Signed-off-by: Paul Bouchon <mail@bitpshr.net>
PR-URL: #64442
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 pushed a commit that referenced this pull request Aug 6, 2026
Environment variables loaded with `--env-file` are not applied to the
command executed by `--run`. Document this limitation under `--run`.

Fixes: #62988
Signed-off-by: Paul Bouchon <mail@bitpshr.net>
PR-URL: #64442
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
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 Node.js documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

6 participants