Skip to content

Commit

Permalink
fix stderr output
Browse files Browse the repository at this point in the history
Signed-off-by: sagewe <wbwmat@gmail.com>
  • Loading branch information
sagewe committed Dec 15, 2023
1 parent 6832214 commit bb8421e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public boolean start() {
}
processBuilder.redirectOutput(logFile);
}
if (stdOutFile != null) {
File logFile = cwd.resolve(stdOutFile).toFile();
if (stdErrFile != null) {
File logFile = cwd.resolve(stdErrFile).toFile();
logFile.getParentFile().mkdirs();
if (!logFile.exists()) {
logFile.createNewFile();
Expand Down

0 comments on commit bb8421e

Please sign in to comment.