ProcessHelper class
EXPERIMENTAL
This class is likely to change/replaced.
- Annotations
-
- @visibleForTesting
Constructors
- ProcessHelper()
-
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
-
getParentPID(
int? childPid) → int? - Get the PID of the parent Returns -1 if a parent can't be obtained.
-
getProcessName(
int? pid) → String? - returns the name of the process for the given pid.
-
isRunning(
int? pid) → bool -
returns true if the given
pid
is still running. -
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