returns the name of the process for the given pid.
String? getProcessName(int pid) { if (Settings().isWindows) { return getWindowsProcessName(pid); } else { return _getLinuxProcessName(pid); } }