Dart API Referencedart:ioProcessResult

ProcessResult abstract class

ProcessResult represents the result of running a non-interactive process started with Process.run.

abstract class ProcessResult {
  /**
   * Exit code for the process.
   */
  int get exitCode;

  /**
   * Standard output from the process as a string.
   */
  String get stdout;

  /**
   * Standard error from the process as a string.
   */
  String get stderr;
}

Properties

final int exitCode #

Exit code for the process.

int get exitCode;

final String stderr #

Standard error from the process as a string.

String get stderr;

final String stdout #

Standard output from the process as a string.

String get stdout;