Revision 2904

Jump to revision: Previous Next
Author: uberlord
Date: Fri Sep 21 08:49:43 2007 UTC (10 years, 8 months ago)
Changed paths: 5
Log Message:
    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.

Changed paths:

Path Details
Directorytrunk/ChangeLog modified , text changed
Directorytrunk/src/Makefile modified , text changed
Directorytrunk/src/libeinfo.c modified , text changed
Directorytrunk/src/librc.c modified , text changed
Directorytrunk/src/runscript.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.20