Skip to main content
Version: 2.0.x (deprecated)

run


pants run [args]

Runs a binary target.

Backend: pants.core

Config section: [run]

Basic options

args

--run-args="[<shell_str>, <shell_str>, ...]", ... -- [<shell_str> [<shell_str> [...]]]
PANTS_RUN_ARGS
default: []

Arguments to pass directly to the executed target, e.g. --run-args="val1 val2 --debug"

Advanced options

None

Deprecated options

None