chore[exec]: exec command log

This commit is contained in:
godotg committed 2024-04-30 11:34:12 +08:00
1 parent 754f23d9dc
commit db0bd5ebb3
1 file changed
+3
@@ -316,6 +316,9 @@ public abstract class OSUtils {
if (StringUtils.isNotBlank(workingDirectory)) {
FileUtils.createDirectory(workingDirectory);
wd = new File(workingDirectory);
logger.info("execCommand:[{}] workingDirectory:[{}]", command, workingDirectory);
} else {
logger.info("execCommand:[{}]", command);
}
try {
process = new ProcessBuilder(command.split(" "))