Method: Eye::Process::System#send_signal
- Defined in:
- lib/eye/process/system.rb
#send_signal(code) ⇒ Object
67 68 69 70 71 72 73 74 75 |
# File 'lib/eye/process/system.rb', line 67 def send_signal(code) res = Eye::System.send_signal(self.pid, code) msg = "send_signal #{code} to <#{self.pid}>" msg += ", error<#{res[:error]}>" if res[:error] info msg res[:result] == :ok end |