This is an automated email from the ASF dual-hosted git repository.

emilyye pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b14f19  Use shell to run python for setupVirtualenv (#16796)
6b14f19 is described below

commit 6b14f19c7927ded47def5ffb1de34708881a0a75
Author: emily <emil...@google.com>
AuthorDate: Wed Feb 9 13:54:56 2022 -0800

    Use shell to run python for setupVirtualenv (#16796)
---
 .../src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy 
b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index 0c9fe6e..b22252f 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -2457,7 +2457,10 @@ class BeamModulePlugin implements Plugin<Project> {
             "--clear",
             "${project.ext.envdir}",
           ]
-          project.exec { commandLine virtualenvCmd }
+          project.exec {
+            executable 'sh'
+            args '-c', virtualenvCmd.join(' ')
+          }
           project.exec {
             executable 'sh'
             args '-c', ". ${project.ext.envdir}/bin/activate && " +

Reply via email to