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

control-c in cmd while running webrick rails app does not kill jruby.exe #1115

Closed
camsong opened this Issue Oct 11, 2013 · 10 comments

Comments

Projects
None yet
9 participants
@camsong
Copy link

camsong commented Oct 11, 2013

control-c in cmd while running webrick rails app does not kill jruby.exe.
I have to manually kill jruby.exe everytime I am in development mode.

http://jira.codehaus.org/browse/JRUBY-5323

Is there a solution now?

@headius

This comment has been minimized.

Copy link
Member

headius commented Oct 21, 2013

Still outstanding. Would be nice to finally fix this in 1.7.7.

@camsong

This comment has been minimized.

Copy link
Author

camsong commented Nov 26, 2013

Still exists in 1.7.8, currently I use this as a workaround on Windows with a shell environment.

alias rs="taskkill.exe -f -im jruby.exe; rm tmp/pids/server.pid; rails s"

May your guys finished this issue in the next release.

@filsanet

This comment has been minimized.

Copy link

filsanet commented Nov 26, 2013

I am interested in getting this fixed. Where should I start looking?

@yousuketto

This comment has been minimized.

Copy link
Contributor

yousuketto commented Jan 22, 2014

My environment is Windows 7(64bit ).
posix#chdir raises RaiseException on my environment.
I think perhaps this is one of the causes.
https://github.com/jruby/jruby/blob/1.7.10/core/src/main/java/org/jruby/RubyKernel.java#L1838

@sumkincpp

This comment has been minimized.

Copy link

sumkincpp commented Jan 31, 2014

Issue still exists with jruby 1.7.10

jruby --version

jruby 1.7.10 (1.9.3p392) 2014-01-09 c4ecd6b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_25-b17 [Windows 7-amd64]

jruby -S rails --version

Rails 4.0.2

@headius headius modified the milestones: JRuby 1.7.12, JRuby 1.7.10 Feb 21, 2014

@pparidans

This comment has been minimized.

Copy link

pparidans commented Mar 11, 2014

Issue still exists also with JRuby 1.7.11.

As far as I can see, it may be bound to the use of javaw.exe instead of java.exe.

Version :

jruby 1.7.11 (1.9.3p392) 2014-02-24 86339bb on Java HotSpot(TM) 64-Bit Server VM 1.7.0_51-b13 [Windows 7-amd64]

@enebo enebo modified the milestones: JRuby 1.7.13, JRuby 1.7.12 Apr 15, 2014

@enebo enebo modified the milestones: JRuby 1.7.14, JRuby 1.7.13 Jun 24, 2014

@hunterboerner

This comment has been minimized.

Copy link

hunterboerner commented Jul 7, 2014

Any plans for fixing this?

@enebo

This comment has been minimized.

Copy link
Member

enebo commented Aug 29, 2014

Landing @yousuketto PR on jnr-posix does in fact seem to fix this issue. Great research! Leaving open because a new jnr-posix release is needed.

@deadprogram

This comment has been minimized.

Copy link

deadprogram commented Aug 29, 2014

🍰

@enebo

This comment has been minimized.

Copy link
Member

enebo commented Aug 29, 2014

Yes spun a release and tried this on windows and things are exec'ing.

@enebo enebo closed this Aug 29, 2014

enebo added a commit that referenced this issue Aug 30, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.