Add a component to redirect native stdout and stderr.