A lightweight CLI tool for managing background processes. gob allows you to start commands as detached background processes, monitor their status, lifecycle and output.
- Detached Process Execution - Run commands that persist independently of the CLI
- AI coding agent friendly - Easy for Coding Agents to start and monitor background processes
Download the latest release for your platform from the Releases page.
Available platforms: Linux, macOS (both amd64 and arm64)
Requirements:
- Go 1.25.4 or later
- Make
To make gob available to Claude Code or other AI coding assistants, add it to your global ~/.claude/CLAUDE.md:
This allows Claude Code to automatically use gob for managing long-running processes during development.
Start a command as a background job. The job runs detached and persists even after the CLI exits.
Output: Job ID (Unix timestamp)
Display all jobs with their status (running/stopped), PID, and command.
Output format:
Stop a running job. Uses SIGTERM by default; use --force for SIGKILL.
Stop and then start a job with the same command.
Remove metadata for a single stopped job. Job must be stopped first.
Remove metadata for all stopped jobs.
Stop all running jobs and remove all metadata. Use with caution.
Display stdout output for a job.
Display stderr output for a job.
Send a custom signal to a job.
Supported signals: TERM, KILL, HUP, INT, QUIT, USR1, USR2, and more
Display usage patterns and common workflows. Also shown when running gob without arguments.
Binary output: dist/gob
Requirements:
- BATS (included as git submodule)
- jq (JSON processor)
Tests are located in test/*.bats and verify end-to-end functionality.
When making changes to the project:
- Update CHANGELOG.md under [Unreleased] section for user-facing changes
- Follow Keep a Changelog format
- Categorize changes as: Added, Changed, Deprecated, Removed, Fixed, Security
Runtime:
- Unix-like operating system (Linux, macOS, BSD)
- Note: Windows is not supported due to Unix-specific process management APIs
Build:
- Go 1.25.4+
Testing:
- BATS framework (included)
- jq command-line tool
.png)

