Method: Explorer::Process#stop
- Defined in:
- lib/explorer/process.rb
#stop(sig = 'INT') ⇒ Object
49 50 51 52 53 54 55 56 57 |
# File 'lib/explorer/process.rb', line 49 def stop(sig='INT') return Actor.current if @state == :stopped begin ::Process.kill(sig, -pgid) wait_on_stop rescue end return Actor.current end |