Addresses Issue #670 to decode empty bytes objects (b'') for stdout and stderr piped from subprocess. Without this change, handle_external_tool_process returns inconsistently typed results - it returns stdout and stderr as strings if they're non-empty, but as bytes if they're empty.
Addresses Issue #670 to decode empty bytes objects (b'') for stdout and stderr piped from subprocess. Without this change, handle_external_tool_process returns inconsistently typed results - it returns stdout and stderr as strings if they're non-empty, but as bytes if they're empty.