Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Return process from start() #12

Merged
merged 1 commit into from
Sep 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/src/chrome.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ class Chrome {
/// 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(
Expand Down