processCmdToDebugString function

String processCmdToDebugString(
  1. ProcessCmd cmd
)

Process command debug string

Implementation

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

  return sb.toString();
}