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

pantsbuild / pants / 20040415697

08 Dec 2025 07:34PM UTC coverage: 80.293% (+0.009%) from 80.284%
20040415697

push

github

web-flow
support setting the working directory on interactive process (#22802)

We've run into a few cases where setting the working directory on an
InteractiveProcess would be useful, in particular for rules are tests
(ie TestRequest). In order to support debugging we convert the setup
process to InteractiveProcess but since that drops the working directory
you're unable to utilize it currently.

As a workaround we currently write a bash script into the sandbox like 

```
cd ${DIR} && exec {COMMAND}
```

This will help clean that up

This is also a pre-requisite to supporting setting the working dir in
the Run goal (small thread here
https://pantsbuild.slack.com/archives/C01CQHVDMMW/p1707448457657149)
I'll handle that in a separate pr though

19 of 19 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

78406 of 97650 relevant lines covered (80.29%)

3.36 hits per line

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

87.69
/src/python/pants/pantsd/lock_test.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