Method: Workpile::Service#kill_working_children
- Defined in:
- lib/workpile.rb
#kill_working_children ⇒ Object
34 35 36 37 38 39 |
# File 'lib/workpile.rb', line 34 def kill_working_children return if @pids.empty? s1 = @pids.map{|pid| " /PID #{pid} " } IO.popen("start /b taskkill /F #{s1}") @pids.clear end |