mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-14 18:19:28 +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)) {
|
if (StringUtils.isNotBlank(workingDirectory)) {
|
||||||
FileUtils.createDirectory(workingDirectory);
|
FileUtils.createDirectory(workingDirectory);
|
||||||
wd = new File(workingDirectory);
|
wd = new File(workingDirectory);
|
||||||
|
logger.info("execCommand:[{}] workingDirectory:[{}]", command, workingDirectory);
|
||||||
|
} else {
|
||||||
|
logger.info("execCommand:[{}]", command);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
process = new ProcessBuilder(command.split(" "))
|
process = new ProcessBuilder(command.split(" "))
|
||||||
|
|||||||
Reference in new issue
Block a user