Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bnoordhuis
Copy link
Member

This reverts commit 00c6b16.

It's been reported (and I can confirm) that this change breaks
process.title = 'foo' in Node.js.

Since libuv just calls out to Core Services and Application Services,
and since those frameworks are really just black boxes that you can't
look inside, it's impossible to debug what exactly goes wrong. Revert
it is then.

Fixes: nodejs/node#28945
CI: https://ci.nodejs.org/job/libuv-test-commit/1483/

@bnoordhuis bnoordhuis closed this Aug 3, 2019
@bnoordhuis bnoordhuis deleted the node28945 branch August 3, 2019 19:25
@bnoordhuis bnoordhuis merged commit 97e86dd into libuv:v1.x Aug 3, 2019
@cjihrig
Copy link
Contributor

cjihrig commented Aug 4, 2019

@bnoordhuis FWIW, moving the pSetApplicationIsDaemon(1) != noErr check out of uv__set_process_title(), and into uv__set_process_title_platform_init() seems to fix nodejs/node#28945 for me. (Sorry, I can't comment on the diff in this PR because it's gone.)

liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Jul 23, 2025
This reverts commit 00c6b16.

It's been reported (and I can confirm) that this change breaks
`process.title = 'foo'` in Node.js.

Since libuv just calls out to Core Services and Application Services,
and since those frameworks are really just black boxes that you can't
look inside, it's impossible to debug what exactly goes wrong. Revert
it is then.

Fixes: nodejs/node#28945
PR-URL: libuv/libuv#2405
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

process.title don't change process name
3 participants