StandardStreams
The standard input, output, and error streams.
Types
Functions
Begin intercepting writes to the output and errors streams which are NOT performed through this type's writeOutput and writeError functions.
True if the error is connected to the TTY.
True if the input is connected to the TTY.
True if the output is connected to the TTY.
Read up to count bytes into buffer at offset from the input stream. The number of bytes read will be returned. 0 will be returned if interruptInputRead is called while waiting for data.
Read up to count bytes into buffer at offset from the input stream. The number of bytes read will be returned. 0 will be returned if interruptInputRead is called while waiting for data, or if at least timeoutMillis have passed without data.
Write up to count bytes from buffer at offset to the error stream. The number of bytes written will be returned. This function will continue to write to this process' error stream even if interceptOtherWrites is called.
Write up to count bytes from buffer at offset to the output stream. The number of bytes written will be returned. This function will continue to write to this process' output stream even if interceptOtherWrites is called.