ttydetach

## Name

ttydetach — run program without a controlling tty

## Synopsis

`ttydetach` {`subprogram`} {`args`...}

## Description

ttydetach eliminates its controlling tty, removes any TTY variable from the environment, and runs `subprogram`.

On POSIX systems, ttydetach must not be a process group leader.

## History

ttydetach was originally part of Daniel J. Bernstein's ptyget toolset in 1996.

## Author

Original code and documentation by Daniel J. Bernstein. Documentation modernizations by Jonathan de Boyne Pollard.