[mythtv-commits] Ticket #10143: Handle stdout and stderr of MythSystem spawned processes

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


#10143: Handle stdout and stderr of MythSystem spawned processes
---------------------------------+-----------------------------
 Reporter:  wagnerrp             |          Owner:  beirdo
     Type:  Developer Task       |         Status:  closed
 Priority:  minor                |      Milestone:  0.25
Component:  MythTV - MythSystem  |        Version:  Master Head
 Severity:  medium               |     Resolution:  fixed
 Keywords:                       |  Ticket locked:  0
---------------------------------+-----------------------------
Changes (by Github):

 * status:  new => closed
 * resolution:   => fixed
 * milestone:  unknown => 0.25


Comment:

 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
  Branch:    master
  Changeset: 769dfae2c88ad6a79b8c9594b5fa085ac50560d8

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10143#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list