Rebase onto 3.1.0
diff --git a/CHANGELOG.md b/CHANGELOG.md index 79da479..e20bfdc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md
@@ -1,5 +1,9 @@ # Change Log for `process_runner` +## 4.0.0-nullsafety.2 + +* Rebase onto non-nullsafety version 3.1.0 to pick up those changes. + ## 4.0.0-nullsafety.1 * Expand the sdk constraint to `<2.11.0`.
diff --git a/lib/src/process_pool.dart b/lib/src/process_pool.dart index 9304e58..5997d0c 100644 --- a/lib/src/process_pool.dart +++ b/lib/src/process_pool.dart
@@ -74,7 +74,7 @@ /// Once the job is complete, if it had an exception while running, this /// member contains the exception. - Exception exception; + Exception? exception; @override String toString() {
diff --git a/pubspec.yaml b/pubspec.yaml index d6192d1..5bf9c18 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -3,7 +3,7 @@ # found in the LICENSE file. name: process_runner -version: 4.0.0-nullsafety.1 +version: 4.0.0-nullsafety.2 description: A process invocation astraction for Dart that manages a multiprocess queue. homepage: https://github.com/google/process_runner
diff --git a/test/src/fake_process_manager.dart b/test/src/fake_process_manager.dart index 8cd727b..7a01e35 100644 --- a/test/src/fake_process_manager.dart +++ b/test/src/fake_process_manager.dart
@@ -110,14 +110,15 @@ } @override - Future<ProcessResult> run(List<dynamic> command, - {String? workingDirectory, - Map<String, String>? environment, - bool includeParentEnvironment = true, - bool runInShell = false, - Encoding stdoutEncoding = systemEncoding, - Encoding stderrEncoding = systemEncoding, - }) { + Future<ProcessResult> run( + List<dynamic> command, { + String? workingDirectory, + Map<String, String>? environment, + bool includeParentEnvironment = true, + bool runInShell = false, + Encoding stdoutEncoding = systemEncoding, + Encoding stderrEncoding = systemEncoding, + }) { if (commandsThrow) { throw const ProcessException('failed_executable', <String>[]); } @@ -125,13 +126,15 @@ } @override - ProcessResult runSync(List<dynamic> command, - {String? workingDirectory, - Map<String, String>? environment, - bool includeParentEnvironment = true, - bool runInShell = false, - Encoding stdoutEncoding = systemEncoding, - Encoding stderrEncoding = systemEncoding}) { + ProcessResult runSync( + List<dynamic> command, { + String? workingDirectory, + Map<String, String>? environment, + bool includeParentEnvironment = true, + bool runInShell = false, + Encoding stdoutEncoding = systemEncoding, + Encoding stderrEncoding = systemEncoding, + }) { if (commandsThrow) { throw const ProcessException('failed_executable', <String>[]); } @@ -139,12 +142,14 @@ } @override - Future<Process> start(List<dynamic> command, - {String? workingDirectory, - Map<String, String>? environment, - bool includeParentEnvironment = true, - bool runInShell = false, - ProcessStartMode mode = ProcessStartMode.normal}) { + Future<Process> start( + List<dynamic> command, { + String? workingDirectory, + Map<String, String>? environment, + bool includeParentEnvironment = true, + bool runInShell = false, + ProcessStartMode mode = ProcessStartMode.normal, + }) { if (commandsThrow) { throw const ProcessException('failed_executable', <String>[]); }