ProcessView constructor

const ProcessView({
  1. required String title,
  2. required String executable,
  3. required List<String> args,
  4. String? workingDirectory,
  5. bool killOnDispose = false,
  6. bool watchMode = false,
  7. Key? key,
})

Implementation

const ProcessView({
  required this.title,
  required this.executable,
  required this.args,
  this.workingDirectory,
  /// When true the underlying process is sent SIGTERM on dispose (e.g. watch
  /// mode so the process doesn't keep running after the user navigates back).
  this.killOnDispose = false,
  /// When true the view shows "Watching…" instead of "Running…", and treats
  /// SIGTERM / SIGKILL exit codes (143, 137) as normal "Stopped" rather than
  /// "Failed".
  this.watchMode = false,
  super.key,
});