class AutomateIt::ShellManager::WhichWindows

ShellManager::WhichWindows

A ShellManager driver providing access to which command by faking it on Windows systems.

Constants

WHICH_HELPER

Public Instance Methods

which(command) click to toggle source

See ShellManager#which

# File lib/automateit/shell_manager/which_windows.rb, line 14
def which(command)
  _which_helper do
    data = `#{WHICH_HELPER} #{command} 2>&1`
  end
end