Skip to content

Commit

Permalink
Fix documentation on Process.run
Browse files Browse the repository at this point in the history
Closes #59938

GitOrigin-RevId: 1f9d3e9
Change-Id: I17c10c099d6dca54648e91040d39a97ba42d2519
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405100
Commit-Queue: Kevin Moore <[email protected]>
Reviewed-by: Kevin Moore <[email protected]>
  • Loading branch information
mernen authored and Commit Queue committed Jan 18, 2025
1 parent dd9a061 commit eb69196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/lib/io/process.dart
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ abstract interface class Process {
///
/// 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.
Expand All @@ -456,7 +456,7 @@ abstract interface class Process {
/// 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, {
Expand Down

0 comments on commit eb69196

Please sign in to comment.