Return process from start() (dart-lang/browser_launcher#12)
diff --git a/pkgs/browser_launcher/lib/src/chrome.dart b/pkgs/browser_launcher/lib/src/chrome.dart index c1c4084..6bc975e 100644 --- a/pkgs/browser_launcher/lib/src/chrome.dart +++ b/pkgs/browser_launcher/lib/src/chrome.dart
@@ -113,11 +113,11 @@ /// Starts Chrome with the given arguments. /// /// Each url in [urls] will be loaded in a separate tab. - static Future<void> start( + static Future<Process> start( List<String> urls, { List<String> args = const [], }) async { - await _startProcess(urls, args: args); + return await _startProcess(urls, args: args); } static Future<Process> _startProcess(