storeProcessesIn function
The rows of table that are store processes running out of
workspacePath.
Implementation
List<({int pid, String command})> storeProcessesIn(
Map<int, String> table,
String workspacePath,
) {
final prefixes = _workspacePrefixes(workspacePath);
return [
for (final entry in table.entries)
if (_namesWorkspace(entry.value, prefixes))
(pid: entry.key, command: entry.value),
];
}