Skip to content

run subshells in bundletool_experimental using subprocess API#2866

Merged
aaronsky merged 2 commits intobazelbuild:mainfrom
aaronsky:aaronsky/fix-2843
Jan 21, 2026
Merged

run subshells in bundletool_experimental using subprocess API#2866
aaronsky merged 2 commits intobazelbuild:mainfrom
aaronsky:aaronsky/fix-2843

Conversation

@aaronsky
Copy link
Copy Markdown
Contributor

Fixes #2843

use subprocess.check_call instead of os.system to support stronger
security guarantees and block environment variables from the running
environment from affecting subprocesses. Fixes usage of rules_apple
when using rules_python 1.7.0+.

Fixes bazelbuild#2843

use `subprocess.check_call` instead of `os.system` to support stronger
security guarantees and block environment variables from the running
environment from affecting subprocesses. Fixes usage of rules_apple
when using rules_python 1.7.0+.
@aaronsky aaronsky marked this pull request as ready for review January 19, 2026 01:20
@aaronsky aaronsky enabled auto-merge (squash) January 19, 2026 01:20
@aaronsky aaronsky merged commit 64855d1 into bazelbuild:main Jan 21, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

codesigningtool fails with rules_python 1.7.0 when using tree artifact outputs

2 participants