Roy Marples 45bd125dcc Use a pty for prefixed output instead of pipes for stdout/stderr. This
is so that programs can get information about the controlling terminal.
This change was triggered by bug #188506 where it's possible that
stdin, stdout and stderr didn't point to a terminal but ended up on one
via our pipes. Using a pty means that stdout and stderr always point to
a terminal, but we lose the ability to tell them apart.
If there is not a pty available then we use un-prefixed output as normal.
This change has also introduced the need for a signal pipe so that
SIGCHLD can exit the loop cleanly.
2007-09-21 08:49:43 +00:00
2007-09-20 22:45:16 +00:00
2007-09-19 11:53:35 +00:00
2007-09-19 13:53:40 +00:00
2007-09-19 13:53:40 +00:00
2007-09-19 13:53:40 +00:00
2007-09-19 13:53:40 +00:00
2007-09-19 13:53:40 +00:00
2007-09-19 13:53:40 +00:00
2007-07-11 12:05:25 +00:00
2007-09-19 13:53:40 +00:00
2007-07-10 08:43:51 +00:00
2007-09-19 13:53:40 +00:00
Description
No description provided
7.8 MiB
Languages
C 65.8%
Shell 29.7%
Meson 4.3%
Perl 0.2%