macOS
brew install detachlocal Homebrew formula metadata
安装
brew install detachlocal Homebrew formula metadata
nix profile install nixpkgs#detachnixpkgs package indexes · pkgs/by-name/de/detach/package.nix · 来源: api.github.com
概览
Execute given command in detached process
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
detach | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://inglorion.net/software/detach/
安装元数据
| 软件包键 | brew:detach |
|---|---|
| 版本 | 0.2.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/detach |
| 主页 | https://inglorion.net/software/detach/ |
| 上游文档 | https://inglorion.net/software/detach |
| 许可证 | MIT |
| 源码归档 | https://inglorion.net/download/detach-0.2.3.tar.bz2 |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | detach |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
detach
nix profile install nixpkgs#detach来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.