OperatingSystem.GetProcesses
Method | |
---|---|
Module | OperatingSystem |
Library | Core |
Action | Get details of executing processes. |
Parameters | (None) |
Return values | For each current process:
|
Example | OperatingSystem.GetProcesses(); |
Platforms |
|
Notes | This method and OperatingSystem.GetRunningApps are not supported on Android version 6.0 (Marshmallow) onwards. These methods use the full list capability which has been removed by Google as a potential security issue. An app now only has access to the list of processes it has created either directly or indirectly. To maintain privacy, each app is sand-boxed and if an app wants to use resources or information outside of its sandbox, it has to explicitly request permission from the user. This method is only supported on versions of Android prior to version 6.0 where applications like Tachyon had access to the full list of all processes running on the device. It uses ps to list all the applications initiated by the Android Zygote daemon. |