[mythtv-firehose] mythtv/master commit: 769dfae2c by Gavin Hurlbut (Beirdo)

MythTV noreply at mythtv.org
Thu Feb 16 04:47:09 UTC 2012


      Author:  Gavin Hurlbut <ghurlbut at mythtv.org>
 Change Date:  2012-02-15T20:46:32-08:00
   Push Date:  2012/02/15 20:46:55 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  769dfae2c88ad6a79b8c9594b5fa085ac50560d8
   Changeset:  https://github.com/MythTV/mythtv/commit/769dfae2c

Log:

Close unused stdout/stderr on child processes

If UseStdout and UseStderr are not set, after forking, just close the dangling
stdout and stderr file descriptor (as appropriate).  This will keep the output
of the child process from polluting the console of the parent process.  If you
actually want to capture the output, use the UseStdout and UseStderr flags
as needed.

Closes #10143

Modified:

   mythtv/libs/libmythbase/system-unix.cpp



More information about the mythtv-firehose mailing list