# listRunning method

Future<List<String>> listRunning()

Returns list of WSL distros

## Implementation

    Future<List<String>> listRunning() async {
      ProcessResult results = await Process.run(
          'wsl', ['--list', '--running', '--quiet'],
          stdoutEncoding: null);
      String output = utf8Convert(results.stdout);
      List<String> list = [];
      output.split('\n').forEach((line) {
        // Filter out docker data
        if (line != '') {
          list.add(line);
        }
      });
      return list;
    }