shell

xiaoxiao2022-06-21  47

 

 

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);     }

转载请注明原文地址: https://www.6miu.com/read-4950564.html

最新回复(0)