• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

icapps / flutter-model-generator / 6022780294

30 Aug 2023 09:00AM UTC coverage: 96.712% (-2.1%) from 98.779%
6022780294

push

github

web-flow
Merge pull request #141 from icapps/feature/#140-made-model-gen-more-verbose

#140: added realtime buildrunner logging

14 of 14 new or added lines in 1 file covered. (100.0%)

647 of 669 relevant lines covered (96.71%)

3.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/run_process/run_process.dart
1
import 'dart:async';
2
import 'dart:convert';
3
import 'dart:io';
4

5
class ProcessRunner {
6
  ProcessRunner._();
×
7

8
  static Future<void> runProcessVerbose(
×
9
      String command, List<String> args) async {
10
    print('\n$command ${args.join(' ')}\n');
×
11
    final completer = Completer<void>();
×
12
    final result = await Process.start(
×
13
      command,
14
      args,
15
      mode: ProcessStartMode.detachedWithStdio,
16
    );
17
    print(
×
18
        '======================================================================');
19
    final subscription = result.stdout
×
20
        .listen((codeUnits) => stdout.write(utf8.decode(codeUnits)));
×
21
    subscription.onDone(() {
×
22
      print(
×
23
          '======================================================================');
24
      completer.complete();
×
25
    });
26
    subscription.onError((dynamic error) =>
×
27
        completer.completeError('Failed to complete process run: $error'));
×
28
    return completer.future;
×
29
  }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc