Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e67bd9e

Browse filesBrowse files
coreybutleraddaleax
authored andcommitted
doc: clarify process.title inconsistencies
Many users assume the act of assigning a value to `process.title` will update the name of their application in apps like macOS Activity Monitor or Windows Services Manager. This has worked in the past, but fails in some versions of Node.js. Ultimately developers are left confused, especially when it works in one version of Node.js and not another. Given the recurring nature and complexity of the underlying problem, it does not seem like a resolvable problem. This note clarifies the source of the problem, sets developer expectations. Refs: #28945 PR-URL: #34557 Fixes: #34280 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent a92aec1 commit e67bd9e
Copy full SHA for e67bd9e

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2368,6 +2368,12 @@ allowed for longer process title strings by also overwriting the `environ`
23682368
memory but that was potentially insecure and confusing in some (rather obscure)
23692369
cases.
23702370

2371+
Assigning a value to `process.title` _may_ not reflect an accurate
2372+
(or any) label within the process manager application of the underlying
2373+
operating system (i.e. macOS Activity Monitor, Windows Services Manager, etc).
2374+
Inconsistencies and breaking changes within the _operating systems process
2375+
interface_ make synchronization with these applications unreliable.
2376+
23712377
## `process.traceDeprecation`
23722378
<!-- YAML
23732379
added: v0.8.0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.