run-19f3a2c4d5e6f7a. A run keeps its output, status, usage and cost,
so you can review it, follow it from another terminal, or cancel it.
Listing runs
ok for exit code 0,
exit N for any other exit code, timeout, out of memory, cancelled or
error, or the current state of a run still in progress.
The same list, with usage over time, is in the
dashboard.
Reading a run’s output
-f, pp logs
exits with the run’s exit code, so it can stand in for the original command in
a script. Ctrl-C stops following without cancelling the run.
Running in the background
--detach (-d) uploads your sources, starts the command and prints its run
id. The command keeps running after you close the terminal.
Source files a detached command changes are not synced back to your machine,
since nothing is waiting for it. Use a normal, attached command for anything
whose changes you want locally, such as pp lake update.
Cancelling
- Ctrl-C in the terminal running the command cancels it in the cloud and waits for it to stop. Press it again to stop waiting immediately.
pp cancel RUN_IDstops any of your runs, including detached ones.
Concurrent commands
A workspace runs one command at a time. A second command started while the first is still running waits for it:pp cancel.
Different workspaces (different projects, or different machines) run
independently. An account can run 8 commands at once. To run several commands
in parallel within one project, give each its own
named workspace.