Skip to content
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

Implement Process::setproctitle #3658

Closed
donv opened this issue Feb 11, 2016 · 2 comments
Closed

Implement Process::setproctitle #3658

donv opened this issue Feb 11, 2016 · 2 comments

Comments

@donv
Copy link
Member

donv commented Feb 11, 2016

Trying to set process title gives an error:

# jruby -ve "Process.setproctitle('myapp')"
jruby 9.0.5.0 (2.2.3) 2016-01-26 7bee00d Java HotSpot(TM) 64-Bit Server VM 25.72-b15 on 1.8.0_72-b15 +jit [linux-amd64]
NoMethodError: undefined method `setproctitle' for Process:Module
  <top> at -e:1

It should either be implemented or NOOP with a warning.

@headius
Copy link
Member

headius commented Feb 13, 2016

I'll mark it as not implemented. It's difficult to implement across platforms even from C, and from Java it's going to be nearly impossible.

@headius
Copy link
Member

headius commented Feb 13, 2016

It looks like MRI marks it as noop and doesn't report an error on platforms where it is not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants