ProcessManager class abstract

A high-level abstraction around using and managing processes on the system.

Constructors

ProcessManager({Stream<List<int>>? stdin, IOSink? stdout, IOSink? stderr, bool? isWindows})
Create a new instance of ProcessManager for the current platform.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
spawn(String executable, Iterable<String> arguments, {String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, bool runInShell = false, ProcessStartMode mode = io.ProcessStartMode.normal}) Future<Process>
Spawns a process by invoking executable with arguments.
spawnBackground(String executable, Iterable<String> arguments, {String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, bool runInShell = false, ProcessStartMode mode = io.ProcessStartMode.normal}) Future<Process>
Spawns a process by invoking executable with arguments.
spawnDetached(String executable, Iterable<String> arguments, {String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, bool runInShell = false, ProcessStartMode mode = io.ProcessStartMode.normal}) Future<Process>
Spawns a process by invoking executable with arguments.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

terminateStdIn() Future<void>
Terminates the global stdin listener, making future listens impossible.