class VirusScanService::KasperskyRunner::WindowsExecutor
Public Instance Methods
scan(file_path, log_path)
click to toggle source
# File lib/virus_scan_service/kaspersky_runner/windows_executor.rb, line 4 def scan(file_path, log_path) system(*%W{avp.com SCAN #{file_path} /i4 /fa /RA:#{log_path}}) end