Shell class
Wrapper over package:process
Process API's that supports features like environment management, user switches, and more.
Constructors
Properties
-
environment
→ Map<
String, String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeParentEnvironment ↔ bool
-
getter/setter pair
- password ↔ String?
-
getter/setter pair
- processManager → ProcessManager
-
final
- runInShell ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sudo ↔ bool
-
getter/setter pair
- username ↔ String?
-
getter/setter pair
- workingDirectory ↔ String?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
String executable, {Iterable< String> arguments = const []}) → Future<ProcessResult> -
start(
String executable, {Iterable< String> arguments = const []}) → Future<WrappedProcess> -
startAndReadAsString(
String executable, {Iterable< String> arguments = const [], Encoding encoding = utf8, List<int> acceptedExitCodes = const [0]}) → Future<String> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited