macOS
brew install detachlocal Homebrew formula metadata
brew / rank 11474
Execute given command in detached process. Version 0.2.3 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#detach.
install
brew install detachlocal Homebrew formula metadata
nix profile install nixpkgs#detachnixpkgs package indexes · pkgs/by-name/de/detach/package.nix · source: api.github.com
overview
Execute given command in detached process
history
detach is a small Unix-style command for starting another process outside the control of the current terminal. Its official page frames it as a portable utility that forks, detaches from the terminal, and then executes the requested command.
Robbert Haarman's official detach page is dated 2010-12-11 and still presents the project as a minimalist command-line tool. The page offers an initial 0.1.0 source release and a later 0.2.3 release that added pidfiles, explicit stdin/stdout/stderr files, and a foreground mode.
detach occupies the old-school Unix packaging niche: tiny source tarball, Makefile installation, and availability through package managers for users who want a command rather than a shell built-in. Its official documentation emphasizes portability across OpenBSD, NetBSD, GNU/Linux, and Mac OS X rather than a large plugin ecosystem.
The common use case is launching a command so it survives terminal exit without depending on shell job control. The official examples compare it with setsid, disown, and nohup, and show why a standalone executable can be useful from scripts or other programs.
For package nerds, detach is interesting because it packages one precise process-control behavior as a tiny, portable C utility. It sits in the same mental drawer as nohup, setsid, daemon helpers, and shell job-control commands, but with a deliberately narrow interface.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
detach | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:detach |
|---|---|
| Version | 0.2.3 |
| Package manager | Homebrew |
| Homepage | https://inglorion.net/software/detach/ |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
detach
nix profile install nixpkgs#detachsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.