Method: Train::File::Remote::Windows#product_version
- Defined in:
- lib/train/file/remote/windows.rb
#product_version ⇒ Object
58 59 60 61 |
# File 'lib/train/file/remote/windows.rb', line 58 def product_version @product_version ||= @backend.run_command( "[System.Diagnostics.FileVersionInfo]::GetVersionInfo(\"#{@spath}\").ProductVersion").stdout.chomp end |