Merge pull request #411 from YannickJadoul/fix-docker-commandsubstitution

Fix command substitution in CIBW_ENVIRONMENT in Linux docker images
This commit is contained in:
Joe Rickerby
2020-07-20 16:38:30 +01:00
committed by GitHub
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ class DockerContainer:
def environment_executor(self, command: List[str], environment: Dict[str, str]) -> str:
# used as an EnvironmentExecutor to evaluate commands and capture output
return self.call(command, env=environment)
return self.call(command, env=environment, capture_output=True)
def shell_quote(path: PurePath) -> str: