Skip to content

Commit

Permalink
8332898: failure_handler: log directory of commands
Browse files Browse the repository at this point in the history
Backport-of: 7f0ad513c30359816ac840f821ca0a22d723a642
  • Loading branch information
TheRealMDoerr committed Jun 5, 2024
1 parent a9ee8ba commit 4d5ed55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private ExitCode run(PrintWriter log, Writer out, ProcessBuilder pb,
Stopwatch stopwatch = new Stopwatch();
stopwatch.start();

log.printf("%s%n[%tF %<tT] %s timeout=%s%n%1$s%n", line, new Date(), pb.command(), params.timeout);
log.printf("%s%n[%tF %<tT] %s timeout=%s in %s%n%1$s%n", line, new Date(), pb.command(), params.timeout, pb.directory());

Process process;
KillerTask killer;
Expand Down

1 comment on commit 4d5ed55

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.