I wish to run external program with PHP and provide some arguments, like:
exec('C:\\Program Files\\iNFekt\\infekt\\infekt-cmd.exe -S --utf-16 '.$nfoFile, $output, $return_var);
But nothing happens, $output is empty array, $return_var is 1
What is my mistake here ?
infekt-cmd.exedo? Does it prints something to the output?excelwill print the output exactly the same as the output you would see if you have execute the command from the command line. So, are you sure the program you are trying to execute return something?