bitter-ability-32190
12/06/2022, 2:27 PMrule_runner.run_interactive_process
with run_in_workspace=True
and running the InteractiveProcess
for real?
I'm seeing that in my process invocation (python):
⢠os.getcwd()
-> /tmp/pants-sandbox-PvheiB
⢠build root -> /tmp/_BUILD_ROOTqo_y5av8
I would've expected the code to run in the build root?
EDIT: Or put another way, how can I have the CWD be the build root?bitter-ability-32190
12/06/2022, 2:31 PMbitter-ability-32190
12/06/2022, 2:40 PMhundreds-father-404
12/06/2022, 3:50 PMbitter-ability-32190
12/06/2022, 3:51 PMrun_goal
. But I think I nailed down the issue to the "run in the test sandbox CWD" vs "run in the rule runner build root"bitter-ability-32190
12/06/2022, 3:51 PMrun_interactive_process
should hotpatch cwd
?bitter-ability-32190
12/06/2022, 4:01 PMbitter-ability-32190
12/06/2022, 4:08 PM