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