RunException.withArgs constructor

RunException.withArgs(
  1. String? cmd,
  2. List<String?> args,
  3. int? exitCode,
  4. String reason, {
  5. Trace? stackTrace,
})

Implementation

RunException.withArgs(
  String? cmd,
  List<String?> args,
  this.exitCode,
  this.reason, {
  Trace? stackTrace,
})  : cmdLine = '$cmd ${args.join(' ')}',
      super(reason, stackTrace);