Skip to content

Commit 2e67248

Browse files
DanTupkenzieschmoll
authored andcommitted
Return process from start() (dart-archive/browser_launcher#12)
1 parent 810b852 commit 2e67248

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgs/browser_launcher/lib/src/chrome.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ class Chrome {
113113
/// Starts Chrome with the given arguments.
114114
///
115115
/// Each url in [urls] will be loaded in a separate tab.
116-
static Future<void> start(
116+
static Future<Process> start(
117117
List<String> urls, {
118118
List<String> args = const [],
119119
}) async {
120-
await _startProcess(urls, args: args);
120+
return await _startProcess(urls, args: args);
121121
}
122122

123123
static Future<Process> _startProcess(

0 commit comments

Comments
 (0)