diff --git a/utils/other-tests.php b/utils/other-tests.php index 8c54928..47517e4 100644 --- a/utils/other-tests.php +++ b/utils/other-tests.php @@ -150,7 +150,7 @@ # only process files if(filetype($file) == 'file') { print ' - ' . basename($file) . '... '; - $cmd = dirname(__FILE__) . '/validate-list.php ' . escapeshellarg($file); + $cmd = "php " . dirname(__FILE__) . '/validate-list.php ' . escapeshellarg($file); $output=array(); exec($cmd,$output,$exit_code); if($exit_code !== 0) {