Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brocode/fw
/ is_stderr_a_tty
Function
is_stderr_a_tty
src/spawn/mod.rs:49–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
fn is_stderr_a_tty() -> bool {
50
std::io::stderr().is_terminal()
51
}
52
53
pub fn spawn_maybe(shell: &[String], cmd: &str, workdir: &Path, project_name: &str, color: Color) -> Result<(), AppError> {
54
let program: &str = shell
Callers
1
spawn_maybe
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected