Module | Rake::Win32 |
In: |
lib/rake/win32.rb
|
Win 32 interface methods for Rake. Windows specific functionality will be placed here to collect that knowledge in one spot.
Normalize a win32 path so that the slashes are all forward slashes.
# File lib/rake/win32.rb, line 50 50: def normalize(path) 51: path.gsub(/\\/, '/') 52: end
Run a command line on windows.
# File lib/rake/win32.rb, line 22 22: def rake_system(*cmd) 23: RepairedSystem.system(*cmd) 24: end