-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing process.title does nothing #14255
Comments
This is a bug in |
@dylan-conway nice, thanks for adding the labels! as this is a good first issue, I wanna take a look! |
Related (and I'm sorry this wasn't clear enough in the original ticket):
|
I find it interesting how this works on windows but not linux (normally its the other way around). |
This isn’t implemented yet on posix |
|
@nektro the purpose of process.title is not to add a getter/setter called process.title the purpose of process.title is to impact how it appears in Activity Monitor, in We cannot mark this issue as fixed until |
What version of Bun is running?
1.1.29+6d43b3662
What platform is your computer?
Darwin 23.5.0 x86_64 i386 and Linux 6.8.0-40-generic x86_64 x86_64
What steps can reproduce the bug?
Run
bun -e "process.title='foo'; console.log(process.title)"
What is the expected behavior?
foo
to be printed to the console.What do you see instead?
bun
is printed to the console.Additional information
If run with node 20, this works as expected:
% node -e "process.title='foo'; console.log(process.title)" % foo
In bun:
Tested on a variety of machines, including macOS and Ubuntu.
The text was updated successfully, but these errors were encountered: