format Command Result

private open fun formatCommandResult(rawResult: InputStream): String

Method used to format a raw result of command execution

Return

the formatted command execution as String

Parameters

rawResult

The raw command execution result

Throws

when an error occurred during the reading of the bytes made up the result