Opened 14 years ago
Closed 13 years ago
#10143 closed Developer Task (fixed)
Handle stdout and stderr of MythSystem spawned processes
Reported by: | Raymond Wagner | Owned by: | beirdo |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - MythSystem | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
If a MythSystem? instance does not specify that it wants to capture the standard output and error of a called executable, those are left to pass through to the parent's respective pipes. '--daemon' mode never fully detaches from the terminal it was run from, so any such outputs, such as those from wget called by mythfilldatabase, get passed through as well.
Change History (1)
comment:1 Changed 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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