commands.sh

pueue restart

all

Restart tasks.

More info →

Options (4)

-k, --immediatelyboolean

Restart multiple tasks at once, and start them immediately (do not enqueue)

Example: pueue restart {{[-k|--immediately]}} {{task_id}} {{task_id}}
-e, --editboolean

Edit a command before restarting

Example: pueue restart {{[-e|--edit]}} {{task_id}}
-i, --in-placeboolean

Restart a task in-place (without enqueuing as a separate task)

Example: pueue restart {{[-i|--in-place]}} {{task_id}}
-a, --all-failedboolean

Restart all failed tasks and stash them

Example: pueue restart {{[-a|--all-failed]}} --stashed

Examples (6)

Restart a specific task

Restart multiple tasks at once, and start them immediately (do not enqueue)

pueue restart [-k|--immediately] task_id task_id

Restart a specific task from a different path

pueue restart --edit-path task_id

Edit a command before restarting

pueue restart [-e|--edit] task_id

Restart a task in-place (without enqueuing as a separate task)

pueue restart [-i|--in-place] task_id

Restart all failed tasks and stash them

pueue restart [-a|--all-failed] --stashed
made by @shridhargupta | data from tldr-pages