Process class

Represents an operating system process.

Constructors

Process({List<String>? args, bool? argumentsTruncated, File? binary, List<EnvironmentVariable>? envVariables, bool? envVariablesTruncated, List<File>? libraries, String? name, String? parentPid, String? pid, File? script})
Process.fromJson(Map json_)

Properties

args List<String>?
Process arguments as JSON encoded strings.
getter/setter pair
argumentsTruncated bool?
True if args is incomplete.
getter/setter pair
binary File?
File information for the process executable.
getter/setter pair
envVariables List<EnvironmentVariable>?
Process environment variables.
getter/setter pair
envVariablesTruncated bool?
True if env_variables is incomplete.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
libraries List<File>?
File information for libraries loaded by the process.
getter/setter pair
name String?
The process name, as displayed in utilities like top and ps.
getter/setter pair
parentPid String?
The parent process ID.
getter/setter pair
pid String?
The process ID.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script File?
When the process represents the invocation of a script, binary provides information about the interpreter, while script provides information about the script file provided to the interpreter.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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