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