Skip to content

Commit

Permalink
What output comes from what process?
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes committed Nov 15, 2023
1 parent 9969d44 commit c1e4bcb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pkgs/ffigen/test/native_objc_test/setup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,17 @@ Future<void> _runProcess(
workingDirectory: workingDirectory,
);
if (result.exitCode != 0) {
stdout.writeln(
stderr.writeln(
'Process invocation failed with exit code ${result.exitCode}.',
);
stdout.write(result.stdout);
stderr.write(result.stderr);
stderr.writeln('---');
stderr.writeln('stdout:');
stderr.writeln(result.stdout);
stderr.writeln('---');
stderr.writeln('stderr:');
stderr.writeln(result.stderr);
stderr.writeln('---');
stderr.writeln('Throwing process exception.');
throw ProcessException(
executable,
arguments,
Expand Down

0 comments on commit c1e4bcb

Please sign in to comment.