ancient-vegetable-10556
09/30/2021, 4:02 PM/bin/cat
as part of a build step. It’s a POSIX utility in its POSIX location, and I’m using POSIX-compliant args (i.e. nothing implementation-specific) for it. Should I use a BinaryPath
request to find that (and be consistent with the rest of Pants), or am I OK directly calling /bin/cat
and saving an extra step in the graph?hundreds-father-404
09/30/2021, 4:04 PM/usr/bin/cat
used over /bin/cat
etc. This has happened to us with zip
, unzip
, and tar
commands
That restriction should be documented in the source code, ideally with a link to the relevant docsfast-nail-55400
09/30/2021, 4:04 PMBinaryPath
should there be a user who has cat
in a non-standard location.ancient-vegetable-10556
09/30/2021, 4:05 PMfast-nail-55400
09/30/2021, 4:06 PMancient-vegetable-10556
09/30/2021, 4:08 PMcat
anyway, so filesystem operations involved in sandbox operations would probably eclipse the savings of using an engine intrinsic