Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9155d17

Browse files
author
Emmanuel Garcia
committed
race
1 parent d4311ca commit 9155d17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/scenario_app/bin/utils/process_manager_extension.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ Future<int> pipeProcessStreams(Process process, {StringSink? out}) async {
2828
}, onDone: stderrCompleter.complete);
2929

3030
final int exitCode = await process.exitCode;
31-
await stdoutCompleter.future;
32-
await stderrCompleter.future;
33-
3431
await stderrSub.cancel();
3532
await stdoutSub.cancel();
33+
34+
await stdoutCompleter.future;
35+
await stderrCompleter.future;
3636
return exitCode;
3737
}
3838

0 commit comments

Comments
 (0)