Background Bash

WHAT: Decide when to run a shell command off-turn with the `bg_bash` tool instead of blocking the turn on the built-in `bash` tool, and how to poll / steer / collect it across turns. WHEN: A command is long-running (dev server, build, watch, test suite, training run, log tail) or you want the turn free while it runs. DO-NOT: Background a quick command whose output you need immediately, spawn a job you never poll, or use it for pure computation - that is `compute`.

weikinhuang 6411b8d 5.3 KB Updated

File contents

weikinhuang/dotfiles/tree/main/config/pi/skills/background-bash commit 6411b8d70a

Frequently asked questions

npx skillmds@latest add weikinhuang/background-bash