Temporary disabling child processes from parent terminal at runtime
问题 Brief: there is huge Linux application with many child processes, and I need something like that: /* parent process, far from fork*/ suppress_child_output_to_parent_tty(); printf("important message"); /* huge piece of code */ printf("important message"); restore_child_output_to_parent_tty(); I know that exist a standard way to do this by make pipe, fork, redirect STDOUT to that pipe, select&read pipe /write to parent stdout at the some loop at different thread, manually pause this loop when