Skip to content

Commit

Permalink
Fix Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
talarian1 committed Sep 18, 2023
1 parent d3fc5e2 commit 712f15f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,10 @@ private static Process runProcess(File execDir, List<String> args, List<String>
if (credentials != null) {
args.addAll(credentials);
}
if (!SystemUtils.IS_OS_WINDOWS) {
args.add(0, "/bin/sh");
args.add(1, "-c");
}
logCommand(logger, args, credentials);
ProcessBuilder processBuilder = new ProcessBuilder(args)
.directory(execDir)
Expand Down

0 comments on commit 712f15f

Please sign in to comment.