spaces<T extends Object> method

  1. @override
List<T> spaces<T extends Object>()

Splits the output by spaces and converts each split into the desired type T. Will throw a ShellException if the shell process did not exit with 0 as the exit code. Will throw a ShellResultConversionException if cannot convert to the desired type T.

Implementation

@override
List<T> spaces<T extends Object>() => _callWithRegExp<T>(base.$.spacesExp);