processCmdToDebugString function
Implementation
String processCmdToDebugString(ProcessCmd cmd) {
final sb = StringBuffer();
if (cmd.workingDirectory != null) {
sb.writeln('dir: ${cmd.workingDirectory}');
}
sb.writeln('cmd: $cmd');
return sb.toString();
}