Fix documentation on `Process.run`
Closes https://github.com/dart-lang/sdk/pull/59938
GitOrigin-RevId: 1f9d3e910e189d05a9073b4b5925cae4ed3423c1
Change-Id: I17c10c099d6dca54648e91040d39a97ba42d2519
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405100
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
diff --git a/sdk/lib/io/process.dart b/sdk/lib/io/process.dart
index e6f4d3f..b810be4 100644
--- a/sdk/lib/io/process.dart
+++ b/sdk/lib/io/process.dart
@@ -430,7 +430,7 @@
///
/// Returns a `Future<ProcessResult>` that completes with the
/// result of running the process, i.e., exit code, standard out and
- /// standard in.
+ /// standard error.
///
/// The following code uses `Process.run` to grep for `main` in the
/// file `test.dart` on Linux.
@@ -456,7 +456,7 @@
/// The arguments are the same as for [Process.run].
///
/// Returns a [ProcessResult] with the result of running the process,
- /// i.e., exit code, standard out and standard in.
+ /// i.e., exit code, standard out and standard error.
external static ProcessResult runSync(
String executable,
List<String> arguments, {