toDebugString method
Process result debug string
Implementation
String toDebugString() {
final sb = StringBuffer();
sb.writeln('exitCode: ${this.exitCode}');
if (stdIsNotEmpty(this.stdout)) {
sb.writeln('out: ${this.stdout}');
}
if (stdIsNotEmpty(this.stderr)) {
sb.writeln('err: ${this.stderr}');
}
return sb.toString();
}