Class: Roby::Tasks::ExternalProcess::InterruptibleWithSignal
- Inherits:
-
ExternalProcess
- Object
- ExternalProcess
- Roby::Tasks::ExternalProcess::InterruptibleWithSignal
- Defined in:
- lib/roby/tasks/external_process.rb
Overview
A subclass of Roby::Tasks::ExternalProcess that terminates its underlying process with a signal (default is INT)
You usually don't create this directly, but use interruptible_with_signal
Instance Method Summary collapse
Instance Method Details
#kill(signo) ⇒ Object
369 370 371 372 373 |
# File 'lib/roby/tasks/external_process.rb', line 369 def kill(signo) super @kill_deadline = Time.now + kill_timeout if kill_timeout end |