ProcessManager class abstract
A high-level abstraction around using and managing processes on the system.
Constructors
-
ProcessManager.new({Stream<
List< ? stdin, IOSink? stdout, IOSink? stderr, bool? isWindows})int> > -
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
witharguments
. -
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
witharguments
. -
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
witharguments
. -
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.