mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-19 17:29:39 +00:00
chore[exec]: exec command log
This commit is contained in:
@@ -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(" "))
|
||||
|
||||
Reference in New Issue
Block a user