Method: Windows::File#system_temp_path
- Defined in:
- lib/beaker/host/windows/file.rb
#system_temp_path ⇒ Object
12 13 14 15 16 |
# File 'lib/beaker/host/windows/file.rb', line 12 def system_temp_path # under CYGWIN %TEMP% may not be set tmp_path = execute('ECHO %SYSTEMROOT%', :cmdexe => true) tmp_path.gsub(/\n/, '') + '\\TEMP' end |