GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: clarify use of process.env in worker threads on Windows · nodejs/node@ead654f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • process.md
    • worker_threads.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+3-1Lines changed: 3 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,9 @@ each [`Worker`][] thread has its own copy of `process.env`, based on its
16681668
parent thread's `process.env`, or whatever was specified as the `env` option
16691669
to the [`Worker`][] constructor. Changes to `process.env` will not be visible
16701670
across [`Worker`][] threads, and only the main thread can make changes that
1671-
are visible to the operating system or to native add-ons.
1671+
are visible to the operating system or to native add-ons. On Windows, a copy of
1672+
`process.env` on a [`Worker`][] instance operates in a case-sensitive manner
1673+
unlike the main thread.
16721674
16731675
## `process.execArgv`
16741676
Collapse file

‎doc/api/worker_threads.md‎

Copy file name to clipboardExpand all lines: doc/api/worker_threads.md
+2-1Lines changed: 2 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,8 @@ Notable differences inside a Worker environment are:
844844
unless otherwise specified. Changes to one copy are not visible in other
845845
threads, and are not visible to native add-ons (unless
846846
[`worker.SHARE_ENV`][] is passed as the `env` option to the
847-
[`Worker`][] constructor).
847+
[`Worker`][] constructor). On Windows, unlike the main thread, a copy of the
848+
environment variables operates in a case-sensitive manner.
848849
* [`process.title`][] cannot be modified.
849850
* Signals are not delivered through [`process.on('...')`][Signals events].
850851
* Execution may stop at any point as a result of [`worker.terminate()`][]

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.