Can't stop WEBrick 1.3.1 with ctrl-c on Ubuntu 11.04

前端 未结 13 1847
终归单人心
终归单人心 2020-12-05 02:43

I\'m using RVM, Ruby 1.9.2, and Rails 3.0.7

A standard kill of the process from another terminal doesn\'t work, either, but kill -9 does, of course.

I found

13条回答
  •  执念已碎
    2020-12-05 02:58

    used this line to create shortcut with ccsm (compiz conig settings manager or smth like this) -> commands:

    kill -9 `pgrep -fl 'script/rails s' | awk '{print $1}'`
    

    set to (ctrl+shift+`) or anything you like

提交回复
热议问题