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;

 /**
  * Process id from the process.
  */
 int get pid;
}

Properties

final int exitCode #

Exit code for the process.

int get exitCode;

final int pid #

Process id from the process.

int get pid;

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;