shell_exec & clamav
- by David
When i call this:
exec("clamscan --no-summary file.php", $out, $int);
with good parameters, the script doen't finish. The file is too small and in console it comand duration is 2 seconds.
If i put incorrect parameter the script finished and return correcte errorcode.
With shell_exec it does the same.