public function execCmd() { global $targetProjectPath; $targetProjectName = basename($targetProjectPath); $outputFilePath = JSCC_HOME."/tmp/$targetProjectName/checkstyle_output.xml"; global $config; $batFilePath = JSCC_HOME."/bin/checkstyle.bat"; $cmd = "$batFilePath $targetProjectPath/src $outputFilePath ".$config->checkStyleVersion; self::$logger->debug("CheckStyleの実行コマンド: ".mb_convert_encoding($cmd, "utf-8", "auto")); shell_exec($cmd); }