macOS
brew install fakettylocal Homebrew formula metadata
安装
brew install fakettylocal Homebrew formula metadata
nix profile install nixpkgs#fakettynixpkgs package indexes · pkgs/by-name/fa/faketty/package.nix · 来源: api.github.com
概览
Wrapper to exec a command in a pty, even if redirecting the output
历史
faketty is a Rust command wrapper that runs another command inside a pseudoterminal even when stdout or stderr are redirected.
The GitHub repository was created in September 2020. Its README frames the tool as similar to script(1), but with a key difference: faketty preserves distinct stdout and stderr streams instead of merging output through a single pty.
faketty is distributed through Cargo and packaged by Homebrew and Nix according to the input metadata. That makes it a small developer-tool package for build logs, CI scripts, and command wrappers that need terminal-style output without losing stream separation.
The documented example wraps a build command such as bazel build while redirecting stdout and stderr to separate log files. This keeps programs that detect terminals from disabling colors, progress bars, or other tty-dependent behavior.
faketty is a concise packaging target because it solves one Unix tooling edge case cleanly: preserve terminal behavior for the child process while keeping stdout and stderr demultiplexed for logs.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
faketty | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/dtolnay/faketty
安装元数据
| 软件包键 | brew:faketty |
|---|---|
| 版本 | 1.0.20 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/faketty |
| 主页 | https://github.com/dtolnay/faketty |
| 仓库 | https://github.com/dtolnay/faketty |
| 上游文档 | https://github.com/dtolnay/faketty#readme |
| 许可证 | Apache-2.0 OR MIT |
| 源码归档 | https://github.com/dtolnay/faketty/archive/refs/tags/1.0.20.tar.gz |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | faketty |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
faketty
nix profile install nixpkgs#faketty来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.