changing output handler for child procs