Method: ChildProcess::AbstractProcess#stop

Defined in:
lib/childprocess/abstract_process.rb

#stop(timeout = 3) ⇒ Object

Forcibly terminate the process, using increasingly harsher methods if possible.

Parameters:

  • timeout (Fixnum) (defaults to: 3)

    (3) Seconds to wait before trying the next method.

Raises:



94
95
96
# File 'lib/childprocess/abstract_process.rb', line 94

def stop(timeout = 3)
  raise SubclassResponsibility, "stop"
end