You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got a requirement to display the type of virus that has been detected. I've already written the changes needed to add this to clamby but thought I'd check if that would be something you'd be interested in merging before creating the PR.
Basically just modifying the Command class, specifically the .scan and #run methods to parse the console output and include the parsed virus type when raising the VirusDetected error. My change swaps out the system call with a Open3 library function call to peek at the output and error streams.
Thoughts?
The text was updated successfully, but these errors were encountered:
Great gem @kobaltz thanks!
I've got a requirement to display the type of virus that has been detected. I've already written the changes needed to add this to clamby but thought I'd check if that would be something you'd be interested in merging before creating the PR.
Basically just modifying the
Command
class, specifically the.scan
and#run
methods to parse the console output and include the parsed virus type when raising theVirusDetected
error. My change swaps out thesystem
call with aOpen3
library function call to peek at the output and error streams.Thoughts?
The text was updated successfully, but these errors were encountered: