Skip to content

Commit 9d5537d

Browse files
committed
Invoke scripts from Gradle with the shell interpreter they choose
1 parent 28164cc commit 9d5537d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

buildSrc/src/main/groovy/org/elasticsearch/gradle/test/ClusterFormationTasks.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,7 @@ class ClusterFormationTasks {
418418
// argument are wrapped in an ExecArgWrapper that escapes commas
419419
args execArgs.collect { a -> new EscapeCommaWrapper(arg: a) }
420420
} else {
421-
executable 'sh'
422-
args execArgs
421+
commandLine execArgs
423422
}
424423
}
425424
}

0 commit comments

Comments
 (0)