tags:

views:

24

answers:

1

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.

A: 

Whith incorrect parameters it works fine, return code 40.

Whith correct parameters it not works, the script never finish and it not return code.

When i execute ps -A are many clamscan instances.

David