Skip to main content
Version: 2.0 (deprecated)

run


pants run [args]

Runs a binary target.

Backend: ``

Config section: [run]

Basic options

args

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

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

Advanced options

None

Deprecated options

None