Searched refs:stderr_is_tty (Results 1 – 1 of 1) sorted by relevance
482 bool stdout_is_tty, stderr_is_tty; in fork_agent() local505 stderr_is_tty = isatty(STDERR_FILENO); in fork_agent()507 if (!stdout_is_tty || !stderr_is_tty) { in fork_agent()530 if (!stderr_is_tty && dup2(fd, STDERR_FILENO) < 0) { in fork_agent()