acoustic-librarian-29560
04/22/2025, 7:14 PMAdhocProcessRequest
and AdhocProcessResult
- what's different about them vs regular process and process result? Trying to build an adhoc packaging tool to do some filepath manipulation before the packaged output of a dependecy is passed downstream. As far as I can tell, there's no existing way to do this.fast-nail-55400
04/22/2025, 7:19 PMshell_command
, adhoc_tool
, and related targets.fast-nail-55400
04/22/2025, 7:20 PMshell_command
and adhoc_tools
make use of AdhocProcessRequest
to do the "heavy lifting"fast-nail-55400
04/22/2025, 7:20 PMfast-nail-55400
04/22/2025, 7:21 PMProcess
is used by the AdhocProcessRequest
logic to actually run the processfast-nail-55400
04/22/2025, 7:21 PMfast-nail-55400
04/22/2025, 7:22 PMPreparedAdhocProcessRequest
contains the Process
resulting from an AdhocProcessRequest
acoustic-librarian-29560
04/22/2025, 7:23 PMpants.core
- does that sound feasible?acoustic-librarian-29560
04/22/2025, 7:24 PMfast-nail-55400
04/22/2025, 7:25 PMAdhocProcessRequest
is in pants.core.util_rules.adhoc_process_support
. It wouldn't be too far fetched for it to (unintentionally) to rely on stuff in the adhoc backend. It'd be interesting to know if this is the case so we can properly fix.fast-nail-55400
04/22/2025, 7:25 PMprepare_env_vars
helper directly?