RunOptions class

Arguments passed to Process.run or Process.start. See Process.run for more details.

Constructors

RunOptions({String? workingDirectory, Map<String, String>? environment, bool includeParentEnvironment = true, bool? runInShell, Encoding stdoutEncoding = systemEncoding, Encoding stderrEncoding = systemEncoding})

Properties

environment Map<String, String>
final
hashCode int
The hash code for this object.
no setterinherited
includeParentEnvironment bool
final
runInShell bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderrEncoding Encoding
final
stdoutEncoding Encoding
final
workingDirectory String?
final

Methods

clone({String? workingDirectory, Map<String, String>? environment, bool? includeParentEnvironment, bool? runInShell, Encoding? stdoutEncoding, Encoding? stderrEncoding}) RunOptions
Create a clone with updated values in one step. For omitted parameters values of the original instance are copied.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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