We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eb9fef commit 07b4b29Copy full SHA for 07b4b29
script/tool/lib/src/common/process_runner.dart
@@ -36,11 +36,9 @@ class ProcessRunner {
36
print(
37
'Running command: "$executable ${args.join(' ')}" in ${workingDir?.path ?? io.Directory.current.path}');
38
final io.Process process = await io.Process.start(executable, args,
39
- workingDirectory: workingDir?.path, environment: environment);
40
- await Future.wait(<Future<dynamic>>[
41
- io.stdout.addStream(process.stdout),
42
- io.stderr.addStream(process.stderr),
43
- ]);
+ workingDirectory: workingDir?.path,
+ environment: environment,
+ mode: io.ProcessStartMode.inheritStdio);
44
if (exitOnError && await process.exitCode != 0) {
45
final String error =
46
_getErrorString(executable, args, workingDir: workingDir);
0 commit comments