Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
race
  • Loading branch information
Emmanuel Garcia committed Jun 3, 2022
commit e375904402e9c381094d56e377cf2937e062bca8
6 changes: 3 additions & 3 deletions testing/scenario_app/bin/utils/process_manager_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ Future<int> pipeProcessStreams(Process process, {StringSink? out}) async {
}, onDone: stderrCompleter.complete);

final int exitCode = await process.exitCode;
await stdoutCompleter.future;
await stderrCompleter.future;

await stderrSub.cancel();
await stdoutSub.cancel();

await stdoutCompleter.future;
await stderrCompleter.future;
return exitCode;
}

Expand Down