https://pantsbuild.org/ logo
#general
Title
# general
c

cold-soccer-63228

06/23/2022, 2:16 PM
Is there a way for me to run Pants commands via a Python client? For example, Iā€™d like to run
./pants fmt ::
from within a Python script using the
pants
library instead of via
subprocess.Popen(...)
ā“ 1
b

bitter-ability-32190

06/23/2022, 2:42 PM
Right now subprocess is the way to go
šŸ‘ 1
Pants has a lot of moving parts internally, so a stable Python API is likely a ways away
4 Views