Hey! These docs are for version 2.0, which is no longer officially supported. Click here for the latest version, 2.7!
./pants run [args]

Runs a binary target.

Config section: [run]

Basic options

--run-args="[<shell_str>, <shell_str>, ...]", ... -- [<shell_str> [<shell_str> [...]]]
PANTS_RUN_ARGS
args
default: []
Arguments to pass directly to the executed target, e.g. `--run-args="val1 val2 --debug"`

Advanced options

None

Deprecated options

None

Related subsystems

download-pex-bin, grpc_python_plugin, pex, pex-binary-defaults, protoc, python-infer, python-native-code, python-protobuf, python-repos, python-setup, run, source, subprocess-environment


Did this page help you?