mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-05 03:01:16 +00:00
chore[exec]: exec command log
This commit is contained in:
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(" "))
|
||||
|
||||
Reference in new issue
Block a user