修改日志输出
This commit is contained in:
parent
a4aba1fdfc
commit
750d21d8f9
|
|
@ -105,7 +105,7 @@ public class OfficeFileUtil {
|
|||
try {
|
||||
StringBuilder command = new StringBuilder();
|
||||
command.append("unoconv -f pdf -o").append(" ").append(pdfPath).append(" ").append(pptPath);
|
||||
log.info("convert word file to pdf, command: {}", command);
|
||||
log.info("convert ppt file to pdf, command: {}", command);
|
||||
Process process = RuntimeUtil.exec(command.toString());
|
||||
process.waitFor();
|
||||
if (process.exitValue() != 0) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue