Fix integ test exec on windows

This commit is contained in:
Ryan Ernst 2015-11-03 23:02:29 -08:00
parent 9d42b8b22b
commit fc1c66083b
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class ClusterFormationTasks {
start = project.tasks.create(name: "${task.name}#start", type: DefaultTask, dependsOn: setup) << {
// Fall back to Ant exec task as Gradle Exec task does not support spawning yet
ant.exec(executable: 'cmd', spawn: true, dir: home) {
esEnv.each { env(key: key, value: value) }
esEnv.each { key, value -> env(key: key, value: value) }
(['/C', 'call', 'bin/elasticsearch'] + esArgs).each { arg(value: it) }
}
esPostStartActions(ant, logger)