triqs.utility.redirect.stop_redirect

triqs.utility.redirect.stop_redirect()[source]

Stop the background redirection thread started by start_redirect().

Signals the running T thread to exit (which restores the original file descriptor 1). No-op when no thread is currently running.