]> granicus.if.org Git - sudo/commit
Start command out in foreground mode if stdout is a tty. Works
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 15 Nov 2009 21:53:38 +0000 (21:53 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 15 Nov 2009 21:53:38 +0000 (21:53 +0000)
commit84d4bc2df5250721a6e498a4d03b08f627b6862e
tree83a1da0d3c0b320289be85428b68c856641c9313
parentdcf6602daa8142c3786fffddd2b62a829dbc9347
Start command out in foreground mode if stdout is a tty.  Works
around issues with some curses-based programs that don't handle
tcsetattr getting interrupted by a signal.  Still allows us to
avoid hogging the tty if the command is part of a pipeline.
script.c