Open
Description
Some commands use a return character at the end of each line in order to overwrite the previous output line with new data. This is often used to show progress of the running command. An example is the dc3dd
command. This command outputs the progress of the command to one line that consistently gets overwritten with the new progress stats. If a long running command does this the output will continually be saved to the buffer and not passed to the go channel in the Write
function of OutputStream
because this function only checks for \n
or \r\n
at the end of a line. Because a command like this will never have a \n
at the end of an output line the buffer will overflow every time the command is run.
Metadata
Metadata
Assignees
Labels
No labels