quaint-telephone-89068
11/09/2022, 9:04 PM{chroot} in an argument or environment variable with the absolute path of the execution sandbox. This is done via the `apply_chroot` function.
Pants should support the same substitution in remote execution as well. This will require use of a wrapper script since the remote execution environment's paths will not be known until the build action is actually invoked. A wrapper script for other purposes (append-only caches) was added by #17290 and thus it should be relatively straightforward to do this substitution.
pantsbuild/pants