Join Slack
Powered by
Is there a way for me to run Pants commands via a ...
# 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
bitter-ability-32190
06/23/2022, 2:45 PM
Pants has a lot of moving parts internally, so a stable Python API is likely a ways away
4
Views
Open in Slack
Previous
Next