A robust ClamAV virus scanning library supporting scanning files, directories, and streams with local sockets, local/remote TCP, and local clamscan/clamdscan binaries (with failover).
Hmmm... yeah, that is a bug in the code. We need to use execfile for security reasons. Looks like it wasn't updated to work properly, though. I'll see if I can patch it real quick and release v1.3.1
Hello,
calling get_version() throws
After digging in I found out that the error originates in index.js https://github.com/kylefarris/clamscan/blob/c499be96135a66f6513651a5302f61f4b303d7ba/index.js#L658
I got it to work by changing it to
Is there I am doing something wrong when calling it?