Skip to main content
4 events
when toggle format what by license comment
Sep 30, 2018 at 19:13 comment added R.. GitHub STOP HELPING ICE Indeed, for 2 it's only the case that they are normally whatever the process inherits from its parent, which, for a command typed in an interactive session, will be the interactive device. Plenty of processes are started in contexts nothing like that.
Sep 30, 2018 at 11:14 vote accept Tran Triet
Sep 28, 2018 at 13:12 comment added chepner For 2, I'd say that is a result of "most processes" being started from a shell whose own standard file descriptors are a terminal. All processes inherit the standard file descriptors from their parent. (Even redirections are instructions to the shell to substitute other descriptors in place of the shell's own. A process is unaware of how its own standard descriptors are set.)
Sep 28, 2018 at 8:33 history answered RudiC CC BY-SA 4.0