hundreds-father-404
10/08/2020, 7:31 PMor change the working directory for PexProcess?With a
Process
, it’s possible to set the working_directory
. But it looks like we didn’t wire this up for PexProcess
, which is simply a convenience to generate a Process
. There’s a way to get this working though, happy to send the snippet
Alternatively, you can use RemovePrefix
. When you do that, you’re not actually mutating anything on disk or changing your project. It’s safe to do; your plugin runs in an isolated chroot
Either approach I think will work. RemovePrefix
might be simpler to avoid changing the working_directory
meaning that ./setuptools.pex
no longer works and you’d need something like ../../../setuptools.pex