lib/taste_tester/windows.rb
# It is possible to have multiple chef-zero processes running which may
# mess up taste-tester's state. So... nuke 'em all.
It is possible to have multiple chef-zero processes running which may
mess up taste-tester's state. So... nuke 'em all.
It is possible to have multiple chef - zero processes running which may mess up taste - tester ' s state . So ... nuke ' em all .
def nuke_all_cz_pids
      find_cz_pids.each do |pid, parentpid|
        ::Mixlib::ShellOut.new("taskkill /F /PID #{pid}").run_command
        ::Mixlib::ShellOut.new("taskkill /F /PID #{parentpid}").run_command
      end
    end
def nuke_all_cz_pids find_cz_pids . each do | pid , parentpid | :: Mixlib :: ShellOut . new ( "taskkill /F /PID #{pid}" ) . run_command :: Mixlib :: ShellOut . new ( "taskkill /F /PID #{parentpid}" ) . run_command end end
It is possible to have multiple chef-zero processes running which may
mess up taste-tester's state.
It is possible to have multiple chef - zero processes running which may mess up taste - tester ' s state .