Method: Webview::App#signal
- Defined in:
- lib/webview/app.rb
#signal(name) ⇒ Object
73 74 75 76 77 78 79 80 |
# File 'lib/webview/app.rb', line 73 def signal(name) return false unless app_process&.pid s = SIGNALS_MAPPING[name] || name Process.kill(Signal.list[s], app_process.pid) true rescue Errno::ECHILD, Errno::ESRCH false end |