Inheritance diagram for IPython.kernel.core.fd_redirector:
Stdout/stderr redirector, at the OS level, using file descriptors.
This also works under windows.
Bases: object
Class to redirect output (stdout or stderr) at the OS level using file descriptors.
fd is the file descriptor of the outpout you want to capture. It can be STDOUT or STERR.
Flush the captured output, similar to the flush method of any stream.
Return the output captured since the last getvalue, or the start of the redirection.
Setup the redirection.
Unset the redirection and return the captured output.