lib/dante/runner.rb in dante-0.0.3 vs lib/dante/runner.rb in dante-0.0.4

- old
+ new

@@ -131,10 +131,10 @@ def kill_pid(k) Dir[options[:pid_path]].each do |f| begin pid = IO.read(f).chomp.to_i FileUtils.rm f - Process.kill(9, pid) + Process.kill('INT', pid) puts "killed PID: #{pid} at #{f}" rescue => e puts "Failed to kill! #{k}: #{e}" end end \ No newline at end of file