Skip to content

process.title on Windows returns different value in v24.16.0 vs 24.15.0 #63858

@jfeingold35

Description

@jfeingold35

Version

v24.16.0

Platform

Microsoft Windows NT 10.0.26200.0 x64

Subsystem

No response

What steps will reproduce the bug?

STR:

  1. On Windows, install node v24.15.0 either directly or through nvm-windows.
  2. Open Powershell and run node
  3. process.title, and observe that the result is something like "Windows Powershell".
  4. Install node v24.16.0.
  5. Repeat steps 2-3

How often does it reproduce? Is there a required condition?

It happens every time.

What is the expected behavior? Why is that the expected behavior?

EXPECTED: The output should be "Windows Powershell" as it was in every version prior to this. Otherwise, I'm unsure of how Node running on a Windows machine can know whether it was instantiated in Powershell or CMD.

What do you see instead?

ACTUAL: The output will be the path to 'node.exe'.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions