lib/dev/cmd/Clean.rb in dev-1.0.159 vs lib/dev/cmd/Clean.rb in dev-1.0.160

- old
+ new

@@ -8,14 +8,14 @@ puts_debug "Dev::Cmd::Clean.clean_temp" begin status=Timeout::timeout(30){ puts_debug "tmp dir=#{Dir.tmpdir}" if File.exists?(Dir.tmpdir) - #if RUBY_PLATFORM.include?("w32") - # cmd="del /Q #{Dir.tmpdir.gsub('/','\\')}" - # puts_debug cmd - # `#{cmd}` if RUBY_PLATFORM.include?("w32") - #end + if RUBY_PLATFORM.include?("w32") + cmd="del /Q #{Dir.tmpdir.gsub('/','\\')}" + puts_debug cmd + `#{cmd}` if RUBY_PLATFORM.include?("w32") + end end } rescue puts_debug "timeout met." end \ No newline at end of file