wrapShellProcessResult method

ShellProcessResult wrapShellProcessResult(
  1. Shell shell,
  2. ShellCommand command
)

Used internally

Implementation

ShellProcessResult wrapShellProcessResult(Shell shell, ShellCommand command) {
  if (isShellProcessResult) {
    throw ArgumentError('Already has ShellProcessResult attached');
  }
  return internal.wrapShellProcessResult(shell, command, this);
}