• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 27080938890

07 Jun 2026 02:58AM UTC coverage: 92.897% (+0.006%) from 92.891%
27080938890

push

github

web-flow
Compose a Process out of multiple sequential subprocesses (Cherry-pick of #23400) (#23402)

It is sometimes useful to run multiple processes in a single
Process invocation. 

For example, when creating a pex from a venv repository,
we need to ensure the venv repository exists, and the 
only reliable way to do so in the presence of remote caching/
remote execution is to run the venv creation process 
in the same Process as the pex invocation.

This change introduces a bit of useful plumbing to make
this easy: A `CompositeProcess` holds multiple
`Subprocess` instances, and invokes them sequentially
via a bash command.

Co-authored-by: Benjy Weinberger <benjyw@gmail.com>

169 of 176 new or added lines in 3 files covered. (96.02%)

92289 of 99345 relevant lines covered (92.9%)

4.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

93.27
/src/python/pants/engine/composite_process.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc