C-c doesn't work on the espresso process

10 views
Skip to first unread message

Jakub Arnold

unread,
Feb 28, 2013, 7:31:12 PM2/28/13
to espresso-...@googlegroups.com
If I run my app via `ruby app.rb` I can't really kill it with Ctrl-C, or even kill -9 doesn't work. Am I missing something?

Silviu Rusu

unread,
Feb 28, 2013, 11:58:03 PM2/28/13
to espresso-...@googlegroups.com

That's because of WEBrick server.
Espresso does not trap signals on its own, it allow web server to do this, and WEBrick does not play well here.

The issue persist for long time in Espresso... just because WEBrick is not widely used...

And i guess it is time to address it - here is the commit - https://github.com/espresso/espresso/commit/fcbebf9740
So the fix is in master branch and will be available with next release.
Reply all
Reply to author
Forward
0 new messages