CTRL+C to Webbrick server ignored

后端 未结 8 586
半阙折子戏
半阙折子戏 2021-01-04 12:51

In the past, I could exit my rails application launched using webbrick using CtrlC. At some point in development, this functionality broke ( Ctrl<

8条回答
  •  孤城傲影
    2021-01-04 13:45

    why not trap()ing signals?
    http://theriyanto.wordpress.com/2006/04/05/develop-a-simple-webserver-using-webrick/

提交回复
热议问题