Module Util
In: lib/util.rb

Methods

Public Class methods

Kill process using a handle Util.clear_handle(‘oats_in_progress.lock’,’java’,’ruby’) willl kill

Kill process occupying a port

def Util.cygwin_fix_path(file,dir = nil) end

Returns a unique path in dir using basename of file_name.

file_name:Appends ‘_<count>’ to the the basename if the file already exists.
dir:if not given, uses the dirname of file_name. If file_name does not , have dirname, assumes dir = ’.’ If dir does not exist, it is created.

[Validate]